/* Worthless — one stylesheet, no framework, no web fonts, no tracking. */

:root {
  --navy: #0f2942;
  --navy-soft: #1c3a56;
  --blue: #1f6fb8;
  --blue-dark: #175a99;
  --blue-pale: #eaf4fb;
  --blue-pale-2: #dcecf7;
  --line: #d7e2ea;
  --line-soft: #e6eef4;
  --muted: #4b5d6e;
  --white: #ffffff;
  --green: #2f7d54;
  --purple: #6b4fa0;
  --orange: #b5621c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 41, 66, .05), 0 6px 18px rgba(15, 41, 66, .05);
  --wrap: 1220px;
}

* { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-dark); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 750; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .7rem 1.1rem; z-index: 50; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: .95rem;
  padding-bottom: .95rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-tag { font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: .25rem; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--navy-soft); text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: .35rem 0; border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--blue-dark); border-bottom-color: var(--blue-pale-2); }
.site-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-search { color: var(--navy); display: inline-flex; padding: .35rem; }
.nav-search svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */

.hero { background: var(--blue-pale); border-bottom: 1px solid var(--line-soft); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
  padding-top: 3.4rem;
  padding-bottom: 3rem;
}

.hero h1 { margin-bottom: 1rem; }

.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 44ch; margin-bottom: 1.8rem; }

.search-form {
  display: flex;
  align-items: stretch;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .45rem .45rem .45rem .9rem;
  box-shadow: var(--shadow);
  max-width: 46rem;
}

.search-icon { display: flex; align-items: center; color: var(--muted); }
.search-icon svg { width: 22px; height: 22px; }

.search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--navy);
  padding: .8rem .3rem;
}
.search-form input::placeholder { color: #6b7c8c; }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 184, .18); }

.search-form button {
  flex: 0 0 auto;
  border: 0;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  padding: .8rem 1.9rem;
  border-radius: 10px;
  min-height: 52px;
  cursor: pointer;
}
.search-form button:hover { background: var(--blue-dark); }

.chips-label { font-size: .92rem; font-weight: 600; color: var(--muted); margin: 1.3rem 0 .5rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.chips a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .95rem;
  color: var(--navy-soft);
  text-decoration: none;
}
.chips a:hover { border-color: var(--blue); color: var(--blue-dark); }

.hero-aside { padding-top: .6rem; text-align: right; align-self: end; padding-bottom: 3.2rem; }
.script-note {
  font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive;
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.3;
  transform: rotate(-3deg);
  margin-bottom: .5rem;
}
.script-arrow { width: 140px; margin-left: auto; transform: rotate(-8deg); }

/* ---------- Four paths ---------- */

.paths { padding: 2.6rem 0 1rem; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.path-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.path-thumb {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
}

.path-body h2 { font-size: 1.3rem; margin: .1rem 0 .45rem; }
.path-body p { color: var(--muted); font-size: 1.02rem; margin-bottom: .8rem; }

.path-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; color: #fff; margin-bottom: .45rem;
}
.path-icon svg { width: 20px; height: 20px; }
.path-icon--blue { background: var(--blue); }
.path-icon--green { background: var(--green); }
.path-icon--purple { background: var(--purple); }
.path-icon--orange { background: var(--orange); }

.card-link {
  display: inline-block;
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Popular ---------- */

.popular { padding: 1.8rem 0 2rem; }

.popular-panel {
  background: var(--blue-pale);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 1.9rem 1.7rem 1.5rem;
}

.popular-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.popular-head h2 { font-size: 1.8rem; margin-bottom: .15rem; }
.section-sub { color: var(--muted); margin: 0; }

.item-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }

.item-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.item-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.item-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.item-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--blue-pale); border-bottom: 1px solid var(--line-soft); }
.item-card-body { position: relative; padding: .8rem .85rem 1rem; }
.item-card-body h3 { font-size: 1.06rem; margin-bottom: .2rem; }
.condition { color: var(--muted); font-size: .85rem; margin: 0 0 .45rem; }
.price { color: var(--navy); font-weight: 800; font-size: 1.1rem; margin: 0; }
.item-arrow {
  position: absolute; right: .8rem; bottom: .7rem;
  color: var(--blue); font-weight: 800; font-size: 1.15rem;
}

.sample-strip {
  margin: 1.3rem 0 0;
  font-size: .95rem;
  color: var(--navy-soft);
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.sample-strip strong { color: var(--navy); }

/* ---------- About strip ---------- */

.about-strip { padding: 2.2rem 0 3rem; border-top: 1px solid var(--line-soft); }
.about-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.about-strip h2 { font-size: 1.3rem; }
.about-strip p { color: var(--muted); margin: 0; max-width: 62ch; }

.button-secondary {
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem 1.4rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  min-height: 48px;
}
.button-secondary:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Interior pages ---------- */

.page-head { background: var(--blue-pale); border-bottom: 1px solid var(--line-soft); padding: 2.4rem 0 2rem; }
.page-head .lede { color: var(--muted); max-width: 68ch; font-size: 1.1rem; }
.page-head h1 { margin-bottom: .6rem; }

.search-form--page { margin-top: 1.2rem; }

.breadcrumb { font-size: .88rem; color: var(--muted); padding-top: 1.2rem; padding-bottom: .2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { padding: 0 .15rem; }

.notice {
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  color: var(--navy-soft);
  margin: 1.6rem 0;
}

.results { padding: 2rem 0 3rem; }
.result-block { margin-bottom: 2.4rem; }
.count { font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--blue-pale); border-radius: 999px; padding: .1rem .55rem; vertical-align: middle; }

.result-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.result-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.result-card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.result-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.result-card-body { padding: .9rem 1rem 1.1rem; }
.result-card-body h3 { font-size: 1.1rem; margin-bottom: .2rem; }

.sample-tag {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 .3rem;
  vertical-align: middle;
}

.link-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.link-list li { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.link-list a { font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.link-list a:hover { text-decoration: underline; }
.link-list p { color: var(--muted); font-size: .95rem; margin: .2rem 0 0; }

.category-block { margin: 2.2rem 0; }
.category-block h2 { padding-bottom: .5rem; border-bottom: 2px solid var(--blue-pale-2); }

.empty { border: 1px dashed var(--line); border-radius: 14px; padding: 1.6rem; margin-top: 1.5rem; }
.empty h2 { font-size: 1.3rem; }
.empty-links { margin: .4rem 0 0; }
.big-links { font-size: 1.1rem; margin-top: 1.5rem; }

/* ---------- Item page ---------- */

.item-page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.6rem; padding-top: 1.6rem; padding-bottom: 2.5rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.item-sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.price-box {
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 12px;
  background: var(--blue-pale);
  padding: 1.2rem 1.3rem;
  margin: 1.6rem 0 2rem;
}
.price-label { font-size: .9rem; font-weight: 700; color: var(--navy-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.condition-inline { text-transform: none; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); margin: 0 0 .5rem; letter-spacing: -0.02em; }
.price-caveat { font-size: .93rem; color: var(--navy-soft); margin: 0; }

.checklist { margin: 0 0 2rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 0 0 .7rem 1.7rem; color: var(--navy-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

.source-box { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem 0; background: #fbfdff; margin-bottom: 2rem; }
.source-box p { font-size: .95rem; color: var(--navy-soft); }

.next-steps { list-style: none; margin: 0; padding: 0; }
.next-steps li { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .7rem; }
.next-steps a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .95rem 1.1rem; text-decoration: none; color: var(--navy); }
.next-steps a:hover { border-radius: 12px; background: #fbfdff; }
.next-steps strong { font-size: 1.02rem; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.next-steps a:hover strong { color: var(--navy); }
.step-note { grid-column: 1 / 2; color: var(--muted); font-size: .92rem; }
.step-arrow { grid-row: 1 / 3; align-self: center; color: var(--blue); font-weight: 800; font-size: 1.15rem; }

.item-side { display: flex; flex-direction: column; gap: 1.1rem; }
.item-hero { border: 1px solid var(--line); border-radius: 14px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; background: var(--white); }
.side-card h2 { font-size: 1.05rem; margin-bottom: .7rem; }
.side-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; font-size: .95rem; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 600; color: var(--navy-soft); }
.side-card--next { background: var(--blue-pale); }
.side-card--next p { font-size: .95rem; color: var(--navy-soft); }

.related { padding-bottom: 3rem; }
.related h2 { margin-top: 1rem; }

/* ---------- Guides ---------- */

.guide-grid { list-style: none; margin: 1.8rem 0 3rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.guide-card { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.guide-card a { display: block; padding: 1.3rem 1.4rem; text-decoration: none; color: inherit; height: 100%; }
.guide-card h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.guide-card p { color: var(--muted); font-size: .98rem; }
.guide-card .card-link { font-weight: 700; }

.guide-page { padding-top: 1.4rem; padding-bottom: 3rem; max-width: 780px; }
.guide-page .lede { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }
.guide-body h2 { margin-top: 2rem; font-size: 1.4rem; }
.guide-body p { color: var(--navy-soft); }
.guide-list { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.guide-list li { margin-bottom: .45rem; color: var(--navy-soft); }
.guide-note { border-left: 4px solid var(--blue-pale-2); background: var(--blue-pale); padding: .7rem 1rem; border-radius: 0 8px 8px 0; font-size: .92rem; color: var(--navy-soft); }
.guide-foot { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }

/* ---------- Directory ---------- */

.directory { padding-top: 1.4rem; padding-bottom: 3rem; }
.listing-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.listing-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; background: var(--white); }
.listing-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.listing-head h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.kind { flex: 0 0 auto; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: .15rem .55rem; background: var(--blue-pale); color: var(--blue-dark); }
.kind--free { background: #e7f4ec; color: #235f40; }
.kind--charges { background: #fbeee2; color: #8a4a12; }
.kind--buys { background: var(--blue-pale); color: var(--blue-dark); }
.listing-meta { font-size: .88rem; color: var(--muted); margin-bottom: .5rem; }
.listing-card p { font-size: .95rem; color: var(--navy-soft); }
.listing-hours { font-size: .88rem !important; color: var(--muted) !important; }
.listing-sources { font-size: .78rem !important; color: var(--muted) !important; border-top: 1px solid var(--line-soft); padding-top: .6rem; margin-bottom: .4rem; }
.listing-sources a { color: var(--muted); }
.confidence { font-style: italic; }

.directory-note { border-top: 2px solid var(--blue-pale-2); margin-top: 2.5rem; padding-top: 1.4rem; max-width: 72ch; }
.directory-note p { color: var(--muted); }

/* ---------- Supplies ---------- */

.supply-grid { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.supply-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; background: var(--white); }
.supply-card h2 { font-size: 1.2rem; }
.supply-card > p { color: var(--muted); font-size: .98rem; }
.supply-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin: 1rem 0 .5rem; }

/* ---------- Prose / about ---------- */

.prose { max-width: 760px; padding-top: 2rem; padding-bottom: 3rem; }
.prose h2 { margin-top: 2.2rem; }
.prose p, .prose li { color: var(--navy-soft); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #d6e4ef; margin-top: 1rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2.4rem; align-items: center; padding-top: 2.2rem; padding-bottom: 1.6rem; }
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-tag { color: #a9c2d6; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-nav a { color: #e7f0f7; text-decoration: none; font-size: 1rem; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-nav span { color: #7fb3dd; font-size: 1.05rem; }

.footer-script {
  font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive;
  color: #cfe4f5; font-size: 1.2rem; line-height: 1.35; margin: 0;
  border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 1.6rem;
}

.footer-fine { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: .9rem; padding-bottom: 1.2rem; }
.footer-fine p { margin: 0; font-size: .92rem; color: #d6e4ef; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 240px; }
  .script-note { font-size: 1.15rem; }
}

@media (max-width: 900px) {
  .path-grid { grid-template-columns: 1fr; }
  .item-page { grid-template-columns: 1fr; gap: 1.6rem; }
  .item-side { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .item-hero { grid-column: 1 / -1; max-height: 280px; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-script { border-left: 0; padding-left: 0; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid, .listing-grid, .supply-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .header-inner { flex-wrap: wrap; gap: .7rem; row-gap: .2rem; }
  .site-header .brand { order: 1; }
  .site-header .nav-search { order: 2; }
  .site-header .site-nav { order: 3; }
  .site-nav { margin-left: 0; width: 100%; gap: 1.1rem; overflow-x: auto; padding-bottom: .2rem; }
  .search-form input[type="search"] { font-size: .98rem; }
  .nav-search { margin-left: auto; }
  .brand-tag { font-size: .72rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .hero-aside { display: none; }
  .search-form { flex-wrap: wrap; }
  .search-form button { width: 100%; }
  .popular-panel { padding: 1.4rem 1.1rem 1.2rem; border-radius: 16px; }
  .popular-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .path-card { grid-template-columns: 1fr; }
  .path-thumb { min-height: 160px; max-height: 200px; }
  .about-strip-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .item-side { grid-template-columns: 1fr; }
  .price-big { font-size: 2.3rem; }
}

@media (max-width: 460px) {
  .wrap { padding: 0 1.1rem; }
  .item-grid { grid-template-columns: 1fr; }
  .item-card img { aspect-ratio: 16 / 9; }
  .result-grid { grid-template-columns: 1fr; }
  .site-nav { gap: .9rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
