:root {
  --brand-ink: #173c35;
  --brand-red: #a7352a;
  --brand-yellow: #f3c96c;
  --brand-green: #dfead9;
  --brand-paper: #f7f8f2;
  --brand-white: #fffefa;
  --brand-muted: #53615b;
  --brand-line: #c9d4ca;
  --focus-ring: #1458a8;
}

html {
  scroll-padding-top: 24px;
}
body {
  background: var(--brand-paper);
  color: var(--brand-ink);
  font-family: "Atkinson Hyperlegible", Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--brand-red);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
.topline {
  background: var(--brand-ink);
  color: var(--brand-white);
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.header {
  position: relative;
  z-index: 5;
  min-height: 90px;
  padding: 12px max(5%, calc((100vw - 1200px) / 2));
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-line);
}
.brand {
  gap: 12px;
  min-height: 58px;
  text-decoration: none;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 0;
  object-fit: contain;
}
.brand b {
  display: block;
  color: var(--brand-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}
.brand small {
  margin-top: 4px;
  color: var(--brand-muted);
  font-size: 15px;
  letter-spacing: 0;
}
.header nav {
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.header nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
}
.header nav > a:hover {
  background: var(--brand-green);
  color: var(--brand-ink);
}
.header nav .cart-link {
  gap: 8px;
  background: var(--brand-red);
  color: var(--brand-white);
  font-weight: 700;
}
.cart-link span {
  display: inline-grid;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-white);
  color: var(--brand-red);
  font-size: 15px;
}
main {
  max-width: 1280px;
  padding: 34px 28px 70px;
}
.hero {
  position: relative;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 0;
  min-height: 490px;
  padding: 0;
  background: var(--brand-green);
  border-radius: 4px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 46px 48px 58px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-red);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-kicker > span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-red);
}
.hero h1 {
  max-width: 590px;
  margin: 17px 0 18px;
  color: var(--brand-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 600;
}
.hero h1 em {
  color: var(--brand-red);
  font-style: normal;
  font-weight: 600;
}
.hero-copy > p:not(.hero-note) {
  max-width: 540px;
  margin: 0;
  color: #243c34;
  font-size: 21px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 56px;
  padding: 12px 20px;
  background: var(--brand-red);
  border: 2px solid var(--brand-red);
  border-radius: 4px;
  font-size: 19px;
}
.hero .btn:hover {
  background: #81281f;
  border-color: #81281f;
}
.hero-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-ink);
  font-weight: 700;
}
.hero-note {
  margin: 30px 0 0;
  color: #344b42;
  font-size: 16px;
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 490px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--brand-yellow);
  border-radius: 0;
}
.hero-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 38px 24px 64px;
  mix-blend-mode: multiply;
}
.hero-art-label {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 24px;
  display: grid;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-art-label b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}
.hero-art-caption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 700;
}
.hero-art-caption span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--brand-red);
  color: var(--brand-white);
  border-radius: 50%;
  font-size: 13px;
}
.shop-promises {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 76px;
  background: var(--brand-white);
  border: 0;
  border-bottom: 1px solid var(--brand-line);
}
.shop-promises div {
  min-height: 76px;
  justify-content: center;
  padding: 14px 20px;
}
.shop-promises div + div {
  border-left: 1px solid var(--brand-line);
}
.shop-promises .promise-mark {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
}
.shop-promises div > span:last-child {
  font-size: 18px;
}
.category-showcase {
  margin: 0 0 78px;
}
.sectionhead {
  gap: 24px;
}
.eyebrow {
  color: #8b3028;
  font-size: 14px;
  letter-spacing: 1px;
}
h1,
h2,
h3 {
  color: var(--brand-ink);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
}
h2 {
  font-size: 36px;
  line-height: 1.2;
}
.category-showcase h2,
.catalog h2 {
  margin-top: 8px;
}
.category-showcase .sectionhead {
  margin-bottom: 22px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--brand-red);
  font-size: 17px;
}
.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.category-card {
  display: block;
  min-width: 0;
  padding-bottom: 8px;
  text-decoration: none;
}
.category-image {
  aspect-ratio: 1.25;
  background: var(--brand-green);
  border: 1px solid var(--brand-line);
  border-radius: 4px;
}
.category-card:nth-child(4n + 2) .category-image {
  background: #f5e9c7;
}
.category-card:nth-child(4n + 3) .category-image {
  background: #f1ddd8;
}
.category-card:nth-child(4n + 4) .category-image {
  background: #dcebe8;
}
.category-image img {
  transition: transform 0.2s ease;
}
.category-card:hover .category-image img {
  transform: scale(1.025);
}
.category-arrow {
  top: 10px;
  right: 10px;
  width: 36px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-size: 20px;
}
.category-name {
  margin-top: 12px;
  color: var(--brand-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
}
.category-card small {
  display: block;
  margin-top: 3px;
  color: var(--brand-muted);
  font-size: 16px;
}
.catalog {
  padding-top: 18px;
}
.catalog-heading {
  align-items: end;
  margin-bottom: 24px;
}
.catalog-intro {
  margin: 8px 0 0;
  color: var(--brand-muted);
  font-size: 18px;
}
.search {
  align-items: center;
  gap: 8px;
}
.search input {
  min-width: 240px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #8a9990;
  border-radius: 4px;
  background: var(--brand-white);
  font: inherit;
  font-size: 17px;
}
.search .btn {
  min-height: 52px;
  padding: 10px 18px;
  background: var(--brand-ink);
  font-size: 17px;
}
.catalog-toolbar {
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 28px;
}
.catalog-toolbar .categories {
  gap: 8px;
}
.catalog-toolbar .chip,
.subcategory-filter .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid #89988e;
  border-radius: 4px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-size: 17px;
  font-weight: 700;
}
.catalog-toolbar .chip:hover,
.subcategory-filter .chip:hover {
  background: #edf1e9;
  color: var(--brand-ink);
}
.catalog-toolbar .chip.selected,
.subcategory-filter .chip.selected {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: var(--brand-white);
}
.subcategory-filter {
  gap: 9px;
  padding-top: 16px;
  border-color: var(--brand-line);
}
.subcategory-label {
  width: 100%;
  margin: 0 0 2px;
  color: var(--brand-ink);
  font-size: 17px;
}
.subcategory-filter .chip small {
  margin-left: 7px;
  font-size: 15px;
}
.sort-form {
  min-height: 46px;
  gap: 9px;
}
.sort-form label {
  font-size: 17px;
  font-weight: 700;
}
.sort-form select {
  min-height: 46px;
  padding: 8px 32px 8px 12px;
  border: 1px solid #89988e;
  border-radius: 4px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font: inherit;
  font-size: 16px;
}
.sort-form .outline {
  min-height: 46px;
  padding: 8px 14px;
  border-color: var(--brand-ink);
  border-radius: 4px;
  background: var(--brand-ink);
  color: var(--brand-white);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.products {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 22px;
}
.productcard {
  overflow: hidden;
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  border-radius: 4px;
  box-shadow: 0 4px 12px #173c350b;
}
.product-image-link {
  aspect-ratio: 1.08;
  background: #fff;
}
.productcard .product-image-link > img {
  object-fit: contain;
  padding: 8px;
}
.productcard:hover .product-image-link > img {
  transform: scale(1.02);
}
.details {
  min-height: 240px;
  padding: 17px 18px 19px;
}
.details .eyebrow {
  font-size: 13px;
  line-height: 1.4;
}
.details h3 {
  margin: 10px 0;
  font-size: 23px;
  line-height: 1.25;
}
.details h3 a {
  text-decoration: none;
}
.product-description {
  color: #475a52;
  font-size: 17px;
  line-height: 1.45;
}
.product-buy-row {
  align-items: center;
  margin-top: auto;
}
.product-buy-row .price {
  color: var(--brand-red);
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}
.product-buy-row .btn {
  min-width: 118px;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--brand-red);
  font-size: 16px;
}
.empty-catalog {
  padding: 48px 24px;
  background: var(--brand-green);
  border-radius: 4px;
}
.empty-catalog p {
  color: var(--brand-muted);
  font-size: 18px;
}
.empty-catalog .outline {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}
.kitchen-note {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  margin: 76px 0 0;
  padding: 34px 0;
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
}
.kitchen-note-index {
  color: var(--brand-red);
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}
.kitchen-note-index span {
  padding: 0 5px;
  color: #798980;
}
.kitchen-note h2 {
  max-width: 460px;
  margin: 10px 0 0;
  font-size: 32px;
}
.kitchen-note > p {
  max-width: 420px;
  margin: 0;
  color: #475a52;
  font-size: 18px;
}
footer {
  margin-top: 20px;
  padding: 36px max(5%, calc((100vw - 1200px) / 2));
  background: var(--brand-ink);
  color: var(--brand-white);
  font-size: 17px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-brand b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
}
footer p {
  margin: 10px 0;
  color: #e1e9df;
}
footer small {
  color: #d4dfd4;
  font-size: 14px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 850px) {
  .header {
    padding: 10px 22px;
  }
  .header nav {
    gap: 4px;
  }
  .header nav > a {
    padding: 8px 10px;
  }
  main {
    padding: 24px 22px 56px;
  }
  .hero {
    grid-template-columns: 1fr 0.85fr;
    min-height: 430px;
  }
  .hero-copy {
    padding: 36px 28px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-art {
    min-height: 430px;
  }
  .shop-promises {
    margin-bottom: 60px;
  }
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .kitchen-note {
    grid-template-columns: 0.5fr 1.5fr;
    gap: 20px;
  }
  .kitchen-note > p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }
  .topline {
    font-size: 14px;
  }
  .header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .brand b {
    font-size: 24px;
  }
  .brand small {
    font-size: 14px;
  }
  .header nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .header nav > a {
    min-height: 46px;
    padding: 7px 9px;
    font-size: 16px;
  }
  main {
    padding: 18px 16px 42px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 34px 22px 28px;
  }
  .hero-kicker {
    font-size: 13px;
  }
  .hero h1 {
    max-width: 480px;
    margin: 15px 0;
    font-size: 38px;
  }
  .hero-copy > p:not(.hero-note) {
    font-size: 19px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }
  .hero .btn {
    width: 100%;
    min-height: 54px;
  }
  .hero-note {
    margin-top: 20px;
    font-size: 15px;
  }
  .hero-art {
    min-height: 310px;
    max-height: 360px;
  }
  .hero-art img {
    padding: 36px 18px 54px;
  }
  .hero-art-label {
    top: 12px;
    left: 16px;
  }
  .hero-art-label b {
    font-size: 20px;
  }
  .hero-art-caption {
    right: 12px;
    bottom: 10px;
    font-size: 14px;
  }
  .shop-promises {
    grid-template-columns: 1fr;
    margin: 0 0 52px;
  }
  .shop-promises div {
    justify-content: flex-start;
    min-height: 58px;
    padding: 10px 14px;
  }
  .shop-promises div + div {
    border-top: 1px solid var(--brand-line);
    border-left: 0;
  }
  .shop-promises div > span:last-child {
    font-size: 17px;
  }
  .category-showcase {
    margin-bottom: 54px;
  }
  .sectionhead {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  h2 {
    font-size: 31px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .category-name {
    font-size: 19px;
  }
  .category-card small {
    font-size: 15px;
  }
  .catalog-heading {
    align-items: flex-start;
  }
  .catalog-heading .search {
    display: flex;
    width: 100%;
    gap: 7px;
  }
  .search input {
    min-width: 0;
    width: 100%;
    font-size: 16px;
  }
  .search .btn {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 16px;
  }
  .catalog-toolbar {
    gap: 12px;
  }
  .catalog-toolbar .categories {
    width: 100%;
    gap: 7px;
  }
  .catalog-toolbar .chip,
  .subcategory-filter .chip {
    min-height: 44px;
    padding: 7px 10px;
    font-size: 15px;
  }
  .subcategory-filter {
    width: 100%;
    gap: 7px;
  }
  .subcategory-label {
    font-size: 16px;
  }
  .sort-form {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .sort-form label {
    font-size: 16px;
  }
  .sort-form select {
    flex: 1;
    min-width: 155px;
    font-size: 15px;
  }
  .sort-form .outline {
    font-size: 15px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-image-link {
    aspect-ratio: 1;
  }
  .details {
    min-height: 235px;
    padding: 12px;
  }
  .details h3 {
    font-size: 19px;
  }
  .details .eyebrow {
    font-size: 12px;
  }
  .product-description {
    font-size: 15px;
  }
  .product-buy-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .product-buy-row .price {
    font-size: 23px;
  }
  .product-buy-row form,
  .product-buy-row .btn {
    width: 100%;
  }
  .kitchen-note {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 54px;
    padding: 24px 0;
  }
  .kitchen-note > p {
    grid-column: auto;
  }
  .kitchen-note h2 {
    font-size: 29px;
  }
  footer {
    padding: 30px 20px;
  }
}

@media (max-width: 370px) {
  .products {
    grid-template-columns: 1fr;
  }
  .details {
    min-height: 210px;
    padding: 15px;
  }
  .product-buy-row {
    align-items: center;
    flex-direction: row;
  }
  .product-buy-row form,
  .product-buy-row .btn {
    width: auto;
  }
  .product-buy-row .btn {
    min-width: 108px;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
