* { box-sizing: border-box; }
html { scroll-padding-top: 24px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
.tile picture, .find .ph, .product-page .frame, .thumb, .product-template .find .ph {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--shelf);
  border-radius: 12px;
  overflow: hidden;
}
.tile picture img, .find .ph img, .product-page .frame img, .thumb img, .product-template .find .ph img {
  width: 76%;
  height: 76%;
  margin: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.tile.native-size picture img, .find.native-size .ph img, .product-template .find.native-size .ph img {
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 76%;
}
.photo-cover, .frame.scene {
  place-items: stretch;
}
.photo-cover img, .frame.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
}
.frame.scene img { object-position: 85% center; }
.photo-credit, .tile small {
  color: var(--pencil);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
}
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 8px; }

.bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: var(--stage);
  color: var(--on-stage);
}
.bar a { color: var(--on-stage); text-decoration: none; }
.logo { font-weight: 680; letter-spacing: -0.04em; font-size: 15px; }
.dirs {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dirs a {
  font-size: 13px;
  color: #d5dae3;
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
}
.dirs a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 650; }

.page { max-width: 760px; margin: 0 auto; padding: 28px 22px 64px; }
.page.wide { max-width: 1280px; }
.page h1, .sheet h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 670;
}
.page h2, .sheet h2 { font-size: 22px; letter-spacing: -0.03em; margin-top: 28px; }
.lead { font-size: 18px; margin: 8px 0 10px; }
.page section + section { margin-top: 8px; }
.page p, .sheet p { margin-top: 8px; }
.page a, .sheet a:not(.cta) { color: var(--action); }

.disclosure {
  display: block;
  width: 100%;
  max-width: none;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  color: var(--navy);
}
.disclosure a,
.page .disclosure a,
.sheet .disclosure a,
.shelf .disclosure a,
.disclosure a:hover,
.disclosure a:focus {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 56px var(--gutter) 40px;
  background: var(--navy);
  color: var(--on-navy);
  border-top: 0;
  text-align: center;
}
.site-footer > div,
.site-footer > p {
  width: 100%;
  max-width: none;
}
.site-footer a { color: var(--on-navy); }
.site-footer .disclosure,
.site-footer .disclosure a,
.site-footer .disclosure a:hover,
.site-footer .disclosure a:focus {
  color: #9C978E;
}
.site-footer .disclosure {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.site-footer p { color: var(--on-navy-muted); font-size: 15px; margin: 0; text-align: center; }
.site-footer .associate-line {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #9C978E;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.buy-disclosure {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--pencil);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.flinks { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; width: 100%; }
.flinks a { min-height: 44px; display: inline-flex; align-items: center; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.tile[hidden] { display: none !important; }
.tile img, .tile .nophoto {
  background: var(--shelf);
}
.tile .nophoto {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.tile .nophoto {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.tile div { padding: 10px 12px 12px; }
.tile strong { display: block; }
.tile span, .tile .tagline { color: var(--muted); font-size: 13px; }
.tile .tagline, .pick-line, .prob a { text-decoration: underline; text-underline-offset: 3px; }
a.tile:focus-visible, .tile .tagline:focus-visible, .pick-line:focus-visible, .prob a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.tile small { display: block; margin-top: 4px; color: var(--pencil); font-size: 13px; font-weight: 400; }

.pick-strip {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 10px;
}
.page, .wrap { min-width: 0; }
.writer-slot:empty { display: none; }
.pick-strip > a,
.pick-strip .pick {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}
.pick-strip .pick {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pick-strip .pick > a.ph { color: inherit; text-decoration: none; }
.pick-line { display: block; margin-top: 4px; padding: 0 10px 10px; color: var(--muted); font-size: 13px; font-weight: 400; }
.pick-strip picture {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 8px;
  background: var(--shelf);
  border-radius: 12px;
  overflow: hidden;
}
.pick-strip img, .pick-strip .nophoto {
  width: 76%;
  height: 76%;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent;
}
.pick-strip .nophoto { display: grid; place-items: center; color: var(--muted); font-size: 13px; padding: 8px; }
.pick-strip span, .pick-strip small { display: block; padding: 0 10px; }
.pick-strip span { font-weight: 650; padding-top: 8px; }
.pick-strip small { color: var(--muted); font-size: 13px; padding-bottom: 10px; }

.picker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
#searchform { flex: 1 1 260px; }
#search { width: 100%; }
.picker input, .picker select, .picker button {
  min-height: 44px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0 12px;
}
.picker-note { color: var(--muted); font-size: 13px; max-width: 62ch; }
#categories { display: flex; flex-wrap: wrap; gap: 6px; }
#categories button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#result-count { color: var(--muted); font-size: 14px; }

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  background: var(--navy);
  color: var(--on-navy) !important;
  text-decoration: none;
  font-weight: 700;
  max-width: 100%;
}
.cta:hover { background: var(--action-hover); }
.cta.quiet {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  font-weight: 450;
}
.cta.quiet:hover { background: var(--paper); }
.guide-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.guide-card .cta, .pick-strip .cta { justify-content: center; min-height: 44px; font-size: 14px; }
.arr { display: inline-block; transition: transform .16s var(--ease); }
.cta:hover .arr { transform: translateX(4px); }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }

.paper-nav { background: transparent; color: var(--navy); max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); width: 100%; }
.paper-nav a, .paper-nav .logo { color: var(--navy); }
.paper-nav .pill { background: var(--navy); color: var(--on-navy); padding: 10px 18px; border-radius: var(--radius-control); min-height: 44px; }
.page-disclosure { display: block; width: 100%; text-align: center; color: var(--pencil); font-size: 16px; line-height: 1.5; }
.page-disclosure a, .page-disclosure a:hover { color: var(--pencil); }
.filter-row:not(:has(.chip:not(:empty))) { display: none; }
body:not(:has([data-occasion])) .filter-row:has([data-slot="gift-occasion"]) { display: none; }
.filters, .filter-row, .pick-strip, .tier, .tier .grid { min-width: 0; max-width: 100%; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; width: 100%; }
.filter-label { min-width: 0; max-width: 100%; flex: 1 1 16rem; min-height: 44px; font-size: 16px; font-weight: 600; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 16rem; min-width: 0; max-width: 100%; }
.filter-chips .chip { min-height: 44px; }
.filter-chips .chip[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }
.pick-strip { scrollbar-width: none; }
.pick-strip::-webkit-scrollbar { display: none; }
@media (max-width: 800px) {
  .bar { flex-wrap: nowrap; height: auto; padding: 10px 12px; }
  .dirs { margin-left: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .actions .cta { width: 100%; justify-content: center; }
  #searchform { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .arr, .cta:hover .arr { transition: none; transform: none; }
  .pick-strip { scroll-behavior: auto; }
}
