@font-face {
  font-family: "Open Sans";
  src: url(fonts/OpenSans-Light.woff) format("woff");
  font-weight: 300;
  font-display: swap;
}

.storefront {
  --display: "Open Sans", var(--sans);
  --paper: #f5efe4;
  --cream: #efe4d4;
  --sand: #c5ab8d;
  --ink: #40332b;
  --muted: #68594e;
  --line: #ded0bf;
  --terracotta: #ac674d;
  --clay: #844832;
  --clay-dark: #693726;
  --olive: #737b60;
  --leaf: #4d5941;
  --sage: #e5e6da;
}
.storefront h1, .storefront h2 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.14;
}
.storefront h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -.025em;
}
.storefront .wrap { width: min(100% - 96px, 1240px); }
.shop-header { position: relative; z-index: 1; background: var(--paper); }
.shop-header .header-inner { min-height: 96px; grid-template-columns: 1fr auto auto; gap: clamp(24px, 4vw, 66px); }
.shop-brand { display: inline-flex; align-items: center; gap: 16px; justify-self: start; width: fit-content; }
.dv-seal {
  position: relative;
  width: 74px;
  aspect-ratio: 1.105;
  flex: none;
  overflow: hidden;
  border-radius: 49% 52% 47% 50%;
}
.dv-seal img {
  position: absolute;
  width: 715.1%;
  max-width: none;
  height: auto;
  left: -311.9%;
  top: -509.6%;
}
.brand-name { display: block; font: 300 clamp(1.35rem, 2.45vw, 2rem)/1.15 var(--display); letter-spacing: -.035em; }
.shop-brand small { display: block; margin-top: 5px; font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; }
.shop-header nav a, .shop-footer nav a { min-height: 44px; display: flex; align-items: center; }
.shop-header nav a { font: 400 .88rem var(--sans); white-space: nowrap; }
.shop-header .cart-link { gap: 8px; }
.shop-header .count { background: var(--clay); color: var(--paper); }
.storefront .bag { width: 17px; height: 15px; }
.storefront .bag::before { left: 4px; }

.storefront .shop-hero { display: block; margin: 0; min-height: 0; position: relative; background: #e9dcc8; }
.shop-hero .hero-layout { display: grid; grid-template-columns: 44% 56%; min-height: clamp(390px, 35vw, 510px); }
.shop-hero .hero-copy { padding: clamp(38px, 5vw, 76px) clamp(20px, 4vw, 55px) clamp(38px, 5vw, 76px) 0; }
.shop-hero h1 { font-size: clamp(2.7rem, 4.7vw, 5rem); line-height: 1.08; letter-spacing: -.045em; }
.shop-hero h1 em { display: inline; font-style: normal; }
.shop-hero .hero-text { max-width: 34ch; margin: 24px 0 25px; line-height: 1.7; }
.shop-hero .hero-media { position: absolute; inset: 0 0 0 max(44%, calc(50% - 74px)); }
.shop-hero .hero-photo { height: 100%; min-height: 0; width: 100%; object-fit: cover; object-position: 50% 28%; }
.storefront .button { border-radius: 5px; min-height: 47px; }
.storefront .button.secondary { border-color: #9c806e; }
.category-band { border-bottom: 1px solid var(--line); }
.category-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding-block: 20px; }
.category-tiles a { display: block; font-size: .88rem; font-weight: 400; letter-spacing: .025em; }
.category-tiles img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: var(--cream); }
.category-tiles a > span { display: flex; align-items: center; justify-content: space-between; gap: 3px; min-height: 44px; border-bottom: 1px solid var(--line); }
.category-tiles a > span span { color: var(--clay); }
.category-tiles a:hover > span { border-color: var(--clay); color: var(--clay); }
.category-tiles li:nth-child(4) img { object-position: 50% 63%; }

.featured { padding-top: 37px; }
.featured-heading { margin-bottom: 24px; }
.demo-note { color: var(--muted); font-size: .78rem; margin: 6px 0 0; }
.storefront .product-grid { gap: 30px clamp(14px, 2.1vw, 29px); }
.storefront .card-photo { border-radius: 8px; }
.storefront .card-photo img { aspect-ratio: 1.25; }
.storefront .product-caption { display: flex; flex-wrap: nowrap; align-items: start; gap: 8px; padding: 12px 0 2px; }
.storefront .product-caption h3 { font-size: clamp(1.14rem, 1.85vw, 1.55rem); margin: 0 0 4px; }
.storefront .product-caption h3 a:hover { color: var(--clay); }
.storefront .product-caption strong { font: 700 .96rem var(--sans); color: var(--ink); }
.quick-add { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #977b63; border-radius: 50%; background: transparent; color: var(--ink); }
.quick-add:hover { background: var(--cream); }
.storefront .photo-label { border-radius: 3px; }
.underlink { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.underlink:hover { color: var(--clay-dark); }
.featured > .underlink { margin: 22px auto 0; display: flex; width: fit-content; }

.story { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 320px; margin-bottom: clamp(26px, 5vw, 65px); overflow: hidden; border-radius: 5px; background: var(--cream); }
.story-image { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 310px; }
.story-image img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 1; object-fit: cover; }
.story-copy { align-self: center; padding: clamp(25px, 4.2vw, 65px); }
.story-copy h2 { margin-bottom: 15px; }
.story-copy > p:not(.eyebrow), .pickup-band p { max-width: 36ch; color: var(--muted); }
.studio-story { grid-template-columns: 1fr 1.25fr; background: var(--sage); border-top: 3px solid var(--olive); }
.studio-mark { margin: 0; align-self: center; padding: 20px 20px 14px 0; }
.studio-mark-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.studio-mark-photos a:focus-visible { outline-offset: -4px; }
.studio-mark-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.studio-mark figcaption { margin-top: 8px; color: var(--muted); font-size: .78rem; }
.pickup-band { padding: 35px 0 44px; text-align: center; background: #ede3d4; }
.pickup-band h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: 10px; }
.pickup-band p { margin: auto; max-width: 57ch; }

.shop-footer { background: #e8dccb; padding-block: 27px 13px; }
.shop-footer nav { display: flex; gap: clamp(12px, 3vw, 40px); flex-wrap: wrap; font-size: .87rem; }
.shop-footer nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shop-footer .dv-seal { width: 49px; }
.shop-footer .brand-name { font-size: 1.55rem; }
.footer-bottom { margin-top: 18px; border-top: 1px solid var(--sand); padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }

.catalog-heading { display: grid; gap: 4px; margin-bottom: 20px; }
.catalog-heading h1 { width: 100%; display: flex; gap: 22px; align-items: center; }
.catalog-heading h1::after { content: ""; height: 1px; background: var(--sand); flex: 1 1 0; }
.storefront .filters a { min-height: 44px; display: inline-flex; align-items: center; border-radius: 3px; padding-inline: 13px; }
.catalog-search { display: flex; gap: 12px 18px; align-items: end; flex-wrap: wrap; padding: 14px 0 23px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.search-term { flex: 0 1 280px; min-width: 0; }
.catalog-search .check { padding-inline: 2px; }
.catalog-search .button { min-height: 44px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.storefront .product-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.gallery-main { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--cream); border-radius: 7px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.gallery-thumbs a { border: 1px solid var(--line); border-radius: 5px; padding: 2px; }
.gallery-thumbs a[aria-current] { border-color: var(--clay); }
.gallery-thumbs img { width: 66px; height: 66px; object-fit: cover; border-radius: 3px; }
.storefront .detail-copy { padding-block: 12px; }
.storefront .detail-price { margin-block: 15px 3px; font: 700 clamp(1.25rem, 2.8vw, 1.7rem) var(--sans); }
.storefront .description { margin-top: 24px; }
.storefront .availability { margin-top: 23px; }
.storefront .purchase { flex-wrap: wrap; }
.pickup-link { margin-top: 15px; }
.related { border-top: 1px solid var(--line); margin-top: clamp(30px, 6vw, 65px); padding-top: 23px; }
.related h2 { margin-bottom: 21px; }
.storefront .summary { background: var(--cream); border-radius: 5px; }
.storefront .summary-list strong { flex-shrink: 0; }

@media (max-width: 980px) {
  .storefront .wrap { width: calc(100% - 56px); }
  .shop-header .header-inner { gap: 20px; }
  .shop-header .dv-seal { width: 61px; }
}
@media (max-width: 700px) {
  .storefront .wrap { width: calc(100% - 32px); }
  .shop-header .header-inner { grid-template-columns: 1fr auto; min-height: 0; gap: 0 8px; }
  .shop-header .shop-brand { min-height: 68px; gap: 8px; }
  .shop-header .dv-seal { width: 43px; }
  .shop-header .shop-brand small { font-size: .52rem; letter-spacing: .08em; margin-top: 4px; }
  .shop-header .brand-name { font-size: clamp(1.05rem, 5.25vw, 1.65rem); line-height: 1.05; }
  .shop-header .cart-link { grid-area: 1 / 2; font-size: .76rem; gap: 6px; }
  .shop-header .count { min-width: 18px; height: 18px; padding-inline: 4px; }
  .shop-header nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
  .shop-header nav a { font-size: .88rem; padding-inline: 4px; }
  .shop-hero .hero-layout { width: 100%; display: flex; flex-direction: column; min-height: 0; }
  .shop-hero .hero-copy { padding: 29px 20px 24px; }
  .shop-hero h1 { font-size: clamp(2.35rem, 9.5vw, 4.2rem); }
  .shop-hero .hero-text { margin: 10px 0 14px; }
  .shop-hero .hero-media { position: relative; inset: auto; }
  .shop-hero .hero-photo { height: auto; aspect-ratio: 1.15; object-position: center 42%; }
  .category-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding-block: 13px; }
  .category-tiles a { font-size: .8rem; }
  .category-tiles img { aspect-ratio: 1.3; }
  .category-tiles a > span { min-height: 39px; }
  .featured-heading { margin-bottom: 16px; }
  .storefront .featured .product-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 67%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 4px 12px; }
  .featured .product-card { scroll-snap-align: start; scroll-margin-inline: 4px; }
  .storefront .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 12px; }
  .storefront .card-photo img { aspect-ratio: 1; }
  .storefront .product-caption { flex-wrap: wrap; padding-top: 8px; align-items: center; }
  .storefront .product-caption div { flex: 1 1 82px; }
  .storefront .product-caption h3 { font-size: 1.12rem; }
  .storefront .product-caption strong { font-size: .94rem; }
  .story, .studio-story { grid-template-columns: 1fr; }
  .story-image { min-height: 0; }
  .story-image img { aspect-ratio: 1; }
  .studio-mark { padding: 0 16px 16px; }
  .shop-footer .footer-inner { flex-direction: column; align-items: start; gap: 6px; }
  .shop-footer .dv-seal { width: 43px; }
  .shop-footer .brand-name { font-size: 1.27rem; }
  .catalog-search { gap: 8px 13px; }
  .search-term { flex-basis: 100%; }
  .storefront .product-detail { grid-template-columns: minmax(0, 1fr); }
  .storefront .purchase .button { flex: 1; }
  .storefront .narrow .cart-total + .button { width: 100%; }
  .storefront .detail-copy { padding-block: 5px; }
}
