:root {
  color-scheme: light;
  --paper: #f5f5ef;
  --ink: #191d1d;
  --muted: #626660;
  --line: #d5d7ce;
  --lime: #d7f35d;
  --dark: #202423;
  --pad: clamp(1rem,4vw,4rem);
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #668019;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.wrap {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 5;
  padding: .7rem 1rem;
  background: var(--lime);
  transform: translateY(-150%);
}

.skip:focus {
  transform: translateY(0);
}

.notice {
  margin: 0;
  text-align: center;
  padding: .55rem 1rem;
  background: var(--lime);
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.wordmark {
  display: inline-flex;
  width: max-content;
  align-items: baseline;
  gap: .55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  font-size: 2rem;
}

.wordmark small {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.navigation {
  display: flex;
  gap: clamp(.8rem,2vw,2rem);
  align-items: center;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
}

.navigation a:hover,.footer a:hover,.crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.utilities {
  display: flex;
  justify-content: flex-end;
  gap: .85rem;
  align-items: center;
}

.plain-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: .5rem .15rem;
  font-size: .9rem;
  font-weight: 750;
  white-space: nowrap;
}

.plain-button:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  min-height: 1.4rem;
  padding-inline: .2rem;
  margin-left: .25rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .72rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,42fr) minmax(0,58fr);
  min-height: clamp(33rem,45vw,42rem);
  background: var(--dark);
  color: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem,5.2vw,6rem) 2rem;
  padding-left: max(var(--pad),calc((100vw - 1312px)/2));
  min-width: 0;
}

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero h1,.page-title,.edit-title {
  margin: 0;
  font-family: 'Arial Black',Impact,Arial,sans-serif;
  font-weight: 950;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.062em;
}

.hero h1 {
  font-size: clamp(3.25rem,6.35vw,6.2rem);
}

.hero h1 span {
  display: block;
}

.hero-copy>p:not(.eyebrow) {
  color: #d7dbd3;
  max-width: 25rem;
  margin: 1.4rem 0 1.65rem;
  font-size: 1.02rem;
}

.hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.button:hover {
  background: #353b37;
}

.button-accent {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.button-accent:hover {
  background: #e4fa91;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: #e7e9df;
}

.section {
  padding-block: clamp(2.75rem,6vw,5.75rem);
}

.section-head {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-head .eyebrow {
  color: var(--muted);
  margin-bottom: .5rem;
}

.section-head h2 {
  margin: 0;
  font-family: 'Arial Black',Arial,sans-serif;
  font-size: clamp(1.9rem,4.2vw,4rem);
  line-height: .98;
  letter-spacing: -.062em;
  text-transform: uppercase;
}

.section-head .button {
  flex: none;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.45rem;
  padding: 0;
  list-style: none;
}

.category-list a {
  display: block;
  border: 1px solid var(--line);
  padding: .5rem .8rem;
  font-size: .875rem;
  font-weight: 750;
}

.category-list a:hover,.category-list a[aria-current=page] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1.65rem .9rem;
}

.product-card {
  min-width: 0;
}

.product-card a {
  display: block;
}

.product-image,.product-placeholder {
  aspect-ratio: 1;
  background: #d0d3d1;
  overflow: hidden;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-card a:hover img {
  transform: scale(1.035);
}

.product-placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: repeating-linear-gradient(142deg,#e3e5dc 0,#e3e5dc 2px,#e8e9e1 2px,#e8e9e1 16px);
  font-weight: 750;
  color: #4d544b;
  text-align: center;
}

.product-card h3 {
  margin: .65rem 0 .1rem;
  font-size: 1.02rem;
  letter-spacing: -.015em;
  line-height: 1.25;
}

.product-card a:hover h3 {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
}

.fineprint {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.edit {
  background: #dfe3d6;
  border-block: 1px solid var(--line);
}

.edit-inner {
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  gap: clamp(1rem,6vw,7rem);
  align-items: center;
}

.edit-title {
  font-size: clamp(2.6rem,6.5vw,6.5rem);
}

.edit-inner p:not(.eyebrow) {
  max-width: 31rem;
  margin: 1rem 0 1.3rem;
}

.edit img {
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: 50% 31%;
}

.footer {
  padding-block: 2rem 1.8rem;
  background: var(--dark);
  color: var(--paper);
}

.footer-row {
  display: flex;
  gap: 1.3rem 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer .wordmark {
  min-height: 2rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: .94rem;
}

.footer p {
  margin: 1rem 0 0;
  color: #d0d4ca;
  font-size: .9rem;
}

.page-main {
  padding-block: 2rem clamp(3rem,7vw,6.5rem);
  min-height: 65vh;
}

.crumbs {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.2rem;
}

.page-title {
  font-size: clamp(2.9rem,7vw,6.75rem);
  margin-bottom: 1rem;
  line-height: .92;
}

.intro {
  max-width: 44rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
}

.filters {
  display: flex;
  gap: .75rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.field {
  display: grid;
  gap: .2rem;
  font-size: .88rem;
  font-weight: 750;
}

.field input,.field select,.dialog input {
  border: 1px solid #959b91;
  background: white;
  color: var(--ink);
  min-height: 2.65rem;
  padding: .45rem .7rem;
  max-width: 100%;
}

.field input {
  width: min(100%,19rem);
}

.field-wide {
  min-width: min(100%,18rem);
}

.result-count {
  margin: .55rem 0 1.15rem;
  color: var(--muted);
  font-size: .9rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: clamp(1.25rem,5vw,5rem);
  align-items: center;
}

.detail-media {
  margin: 0;
}

.detail-media figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .86rem;
}

.product-detail .page-title {
  font-size: clamp(2.15rem,5vw,5rem);
  overflow-wrap: anywhere;
}

.price-record {
  margin-block: 1.4rem;
  padding-block: .9rem;
  border-block: 1px solid var(--line);
}

.price-record p {
  margin: .1rem 0;
}

.price-record strong {
  font-size: 1.25rem;
}

.price-record s {
  margin-left: .4rem;
  color: var(--muted);
  font-size: .9rem;
}

.price-record .fineprint {
  font-size: .875rem;
  margin: .2rem 0;
}

.related {
  margin-top: clamp(2.75rem,5vw,4.5rem);
}

.prose {
  max-width: 47rem;
}

.prose h2 {
  margin-top: 2rem;
  line-height: 1.2;
}

.prose p {
  color: #404640;
}

.dialog {
  width: min(100% - 2rem,34rem);
  padding: 1.25rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  max-height: calc(100% - 2rem);
  overflow: auto;
}

.dialog::backdrop {
  background: #121611a0;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dialog-head h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -.04em;
}

.dialog input {
  width: 100%;
}

.dialog-list {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}

.dialog-list li {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  min-height: 2.8rem;
  border-bottom: 1px solid var(--line);
}

.dialog-list a {
  padding: .45rem 0;
  font-weight: 700;
}

.dialog-list a:hover {
  text-decoration: underline;
}

.dialog-status {
  color: var(--muted);
  font-size: .9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width:1020px) {
  .header-row {
    grid-template-columns: 1fr auto;
    gap: .15rem .8rem;
    padding-top: .7rem;
  }
  .navigation {
    grid-column: 1/-1;
    grid-row: 2;
    overflow: auto;
    padding-block: .6rem .85rem;
  }
  .hero h1 {
    font-size: clamp(2.55rem,6.9vw,5.6rem);
  }
  .hero-copy {
    padding-inline: var(--pad) 1rem;
  }
  .hero {
    min-height: 30rem;
  }
}

@media (max-width:680px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-copy {
    padding: 2.5rem var(--pad) 2rem;
  }
  .hero-copy>p:not(.eyebrow) {
    margin: .95rem 0 1.2rem;
  }
  .hero h1 {
    font-size: clamp(3rem,11.5vw,5.2rem);
  }
  .hero-image {
    aspect-ratio: 1.4;
  }
  .hero-image img {
    object-position: 55% 37%;
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.25rem .7rem;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }
  .edit-inner,.product-detail {
    grid-template-columns: 1fr;
  }
  .detail-media {
    max-width: 32rem;
  }
  .footer-row {
    flex-direction: column;
  }
  .filters {
    align-items: stretch;
  }
  .field-wide {
    width: 100%;
  }
  .field input {
    width: 100%;
  }
  .page-title {
    overflow-wrap: anywhere;
  }
}

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