/* Label: a quiet shop of one brand, after the premium Shopify themes. Photographs do the
   work: as wide as the window on the first screen, tall in the grid. Around them white
   paper, thin lines and a light geometric face set in small spaced capitals. Loaded
   after base/theme.css, so it restyles the base classes (the cart and the review form
   keep base templates; the checkout is the theme's own). */

@font-face {
  font-family: "Jost";
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-cyrillic-wght-normal.d135949ebb72.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Jost";
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin-ext-wght-normal.7f44f6fd229b.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}

@font-face {
  font-family: "Jost";
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin-wght-normal.928f4210aa48.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --paper: #fff;
  --ink: #1c1b1b;
  --muted: #6d6d6a;
  --line: #e2e2df;
  --wash: #f4f4f2;
  --accent: #1c1b1b; /* buttons; store setting */
  --tag: #9a3b32; /* a reduced price and its mark; store setting */
  --display: "Jost", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Jost", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --page: 1200px; /* the column of the content; photographs and bands run wider */
  --gap: 64px; /* between the blocks of a page */
  --head: 76px; /* the header's height on a wide screen */
}

body {
  overflow-x: clip; /* the full-width blocks below */
  font: 400 0.9375rem/1.65 var(--body);
  letter-spacing: 0.01em;
}

.wrap {
  max-width: calc(var(--page) + 2 * var(--gutter));
}

main.wrap {
  padding-top: 0;
  padding-bottom: var(--gap);
}

/* a page that opens with a photograph touches the header; any other keeps some air */
main.wrap > :first-child:not(.hero, .pagehead) {
  margin-top: 28px;
}

/* small spaced capitals: the menu, the labels, the buttons */
.promo,
.menu,
.langs,
.cart-link,
.btn,
.badge,
.card__name,
.card__add,
.benefits b,
.section__more,
.tile span,
.spotlight__label,
.step__n,
.step__name,
.voices__by b,
.faq summary,
.details summary,
.trail,
.sort,
.pager,
.chips a,
.variants legend,
.field label,
.field legend,
.step__title,
.more summary,
.promises,
.foot h2 {
  font: 500 0.6875rem/1.4 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --- header ------------------------------------------------------------------ */
.promo {
  margin: 0;
  padding: 9px var(--gutter);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 4px 18px;
  max-width: none;
  /* the bar is as wide as the window, what is in it keeps to the page's column */
  padding: 12px max(var(--gutter), calc((100% - var(--page)) / 2)) 6px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
}

.brand {
  margin: 0;
  font: 500 1.25rem/1 var(--display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.tools {
  display: contents; /* on a phone its parts sit in the header's own grid */
}

.top .search {
  grid-column: 1 / -1;
  order: 2;
  max-width: none;
  margin: 0;
  padding: 0;
}

.search input {
  height: 40px;
  padding: 0 0 0 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b1b' stroke-width='1.3'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.500 5 5'/%3E%3C/svg%3E") left center / 18px no-repeat;
  font-size: 0.875rem;
}

.search input::placeholder {
  color: var(--muted);
}

.menu {
  grid-column: 1 / -1;
  order: 3;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu a {
  padding: 10px 0;
  text-decoration: none;
  white-space: nowrap;
}

.menu a[aria-current],
.menu a:hover {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.langs {
  gap: 10px;
}

.langs a {
  padding: 8px 0;
}

.langs a[aria-current] {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.cart-link {
  padding: 8px 0;
}

.cart-link b {
  display: inline;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  font-weight: 500;
}

.cart-link b::before {
  content: "(";
}

.cart-link b::after {
  content: ")";
}

/* --- type and buttons -------------------------------------------------------- */
.heading {
  margin-bottom: 28px;
  font: 400 1.25rem/1.35 var(--display);
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.heading--small {
  font-size: 0.9375rem;
  text-align: left;
}

.heading--left {
  text-align: left;
}

.btn {
  min-height: 48px;
  padding: 0 30px;
  transition: background-color 0.2s, color 0.2s;
}

.btn--ghost {
  background: none;
  box-shadow: inset 0 0 0 1px currentColor;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.section,
.section + .section,
.hero + .section,
.spotlight,
.voices,
.story {
  margin-top: var(--gap);
}

.section__head {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.section__head .heading {
  margin-bottom: 0;
}

.section__more {
  color: var(--ink);
  text-underline-offset: 5px;
}

/* the blocks as wide as the window */
.hero,
.spotlight,
.voices,
.pagehead {
  margin-inline: calc(50% - 50vw);
}

/* --- home: the first screen ----------------------------------------------------- */
.hero {
  margin-bottom: 0;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slide {
  position: relative;
  flex: none;
  display: grid;
  width: 100%;
  height: min(72vh, 620px);
  min-height: 440px;
  background: var(--wash);
  scroll-snap-align: start;
}

.slide img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 80%; /* a still life rests low: its air is above */
}

/* the words sit in that air, on a little light of their own */
.slide__text {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: start;
  justify-self: center;
  max-width: 660px;
  margin-top: clamp(28px, 6vh, 64px);
  padding: 26px 34px 30px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 86%), rgb(255 255 255 / 0%));
  text-align: center;
}

.slide--plain .slide__text {
  align-self: center;
  margin-top: 0;
}

.slide h1,
.slide h2 {
  font: 400 clamp(1.375rem, 3.3vw, 2.625rem) / 1.25 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.slide p {
  display: block;
  margin-top: 12px;
  padding: 0;
  background: none;
  font-size: 1rem;
}

.slide__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.slide .btn--ghost {
  background: #fff;
  box-shadow: none;
}

.slide .btn--ghost:hover {
  background: var(--ink);
}

.hero__dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dots a {
  width: 30px;
  height: 22px; /* a thin line that is easy to hit */
  border-block: 10px solid transparent;
  background: rgb(28 27 27 / 28%);
  background-clip: padding-box;
}

.hero__dots a[aria-current] {
  background-color: var(--ink);
}

/* --- home: why shop here --------------------------------------------------------- */
.benefits {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px var(--gutter);
  padding: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  gap: 2px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.benefits svg {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.benefits span {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* --- the product card ------------------------------------------------------------- */
.grid {
  gap: 32px var(--gutter);
}

.card {
  text-align: center;
}

.card__media {
  position: relative;
}

.card__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--wash);
}

.card__photo img {
  transition: opacity 0.4s;
}

.card__second {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.badge {
  top: 10px;
  right: auto;
  left: 10px;
  padding: 4px 8px;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.625rem;
}

.badge--sale {
  background: var(--tag);
  color: #fff;
}

/* buying from the card: it comes up under the pointer and with the keyboard */
.card__add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.card__add,
.card__add button {
  display: block;
  width: auto;
  min-height: 42px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  line-height: 42px;
  text-align: center;
  text-decoration: none;
  text-transform: inherit;
  cursor: pointer;
}

.card__add button {
  width: 100%;
}

.card__add:hover,
.card__add button:hover {
  background: var(--ink);
  color: #fff;
}

.card:hover .card__add,
.card:focus-within .card__add {
  opacity: 1;
  transform: none;
}

.card:hover .card__second {
  opacity: 1;
}

.card__body {
  display: grid;
  gap: 3px;
  padding-top: 14px;
  text-decoration: none;
}

.card__name {
  display: block;
  margin: 0;
  overflow: visible;
  -webkit-line-clamp: none;
}

.card__price {
  font-size: 0.875rem;
}

.card__price s {
  margin-right: 4px;
  color: var(--muted);
}

.is-sale {
  color: var(--tag);
}

.card__note,
.card__rating {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.card__rating,
.stars {
  color: var(--ink);
}

.card--out img {
  filter: none;
  opacity: 0.5;
}

/* --- home: categories ------------------------------------------------------------ */
.tiles {
  gap: var(--gutter);
}

.tile {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  background: var(--wash);
}

.tile img {
  transition: transform 0.6s;
}

.tile:hover img {
  transform: scale(1.03);
}

.tile span,
.tile--plain span {
  position: absolute;
  inset: auto auto 18px 50%;
  display: block;
  height: auto;
  padding: 11px 20px;
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
  transform: translateX(-50%);
}

/* --- home: one product in close-up ------------------------------------------------- */
.spotlight {
  display: grid;
  gap: 28px;
  padding: 44px calc(50vw - 50%) 52px;
  background: var(--wash);
}

.spotlight__photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.spotlight__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight__label {
  margin-bottom: 12px;
  color: var(--muted);
}

.spotlight .heading {
  margin-bottom: 8px;
  text-align: left;
}

.spotlight .heading a {
  text-decoration: none;
}

.spotlight__price {
  margin-bottom: 18px;
  font-size: 1.0625rem;
}

.spotlight__price s {
  margin-right: 4px;
  color: var(--muted);
}

.spotlight__lead,
.points {
  max-width: 46ch;
}

.points {
  margin-top: 20px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.points li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spotlight__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.spotlight select {
  height: 48px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231c1b1b' stroke-width='1.2'%3E%3Cpath d='m1 1.500 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 10px no-repeat;
  color: var(--ink);
  font: inherit;
  appearance: none;
}

/* --- home: a collection as steps -------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px var(--gutter);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.step a {
  display: grid;
  gap: 3px;
  text-decoration: none;
}

.step__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 11px;
  background: var(--wash);
}

.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__n {
  color: var(--muted);
  font-size: 0.625rem;
}

.step__price {
  font-size: 0.875rem;
}

/* --- home: what customers say ------------------------------------------------------ */
.voices {
  padding: 52px calc(50vw - 50%) 56px;
  border-block: 1px solid var(--line);
}

.voices ul {
  display: grid;
  gap: 36px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.voices .stars {
  font-size: 0.75rem;
  letter-spacing: 3px;
}

.voices blockquote {
  max-width: 34ch;
  margin: 12px auto 14px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.voices__by {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.voices__by b {
  color: var(--ink);
}

.voices__by a {
  text-underline-offset: 4px;
}

/* --- home: who makes it ------------------------------------------------------------- */
.story {
  display: grid;
  gap: 28px;
}

.story__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.story .heading {
  margin-bottom: 16px;
  text-align: left;
}

.story__text p {
  max-width: 52ch;
  margin-bottom: 1em;
}

.story__text p:last-child {
  margin: 26px 0 0;
}

/* --- questions; and what the shop promises, folded on the product page -------------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq__list,
.details {
  border-bottom: 1px solid var(--line);
}

.faq details,
.details details {
  border-top: 1px solid var(--line);
}

.faq summary,
.details summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker,
.details summary::-webkit-details-marker {
  display: none;
}

.faq summary::after,
.details summary::after {
  content: "+";
  font: 300 1.125rem/1 var(--body);
  letter-spacing: 0;
}

.faq details[open] summary::after,
.details details[open] summary::after {
  content: "–";
}

.faq details > div,
.details p {
  max-width: 62ch;
  padding-bottom: 20px;
}

.faq details p + p {
  margin-top: 0.8em;
}

.details {
  margin: 10px 0 26px;
}

.details p {
  color: var(--muted);
}

/* --- the head of a category, a collection, the search ----------------------------------- */
.pagehead {
  display: grid;
  margin-bottom: 26px;
  background: var(--wash);
  text-align: center;
}

.pagehead img {
  grid-area: 1 / 1;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.pagehead__text {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: center;
  justify-self: center;
  padding: 40px var(--gutter);
}

.pagehead--photo .pagehead__text {
  padding: 20px 34px 24px;
  background: rgb(255 255 255 / 90%);
}

.pagehead .heading {
  margin: 0;
  font-size: 1.5rem;
}

.trail {
  color: var(--muted);
  font-size: 0.625rem;
}

.pagehead .trail {
  justify-content: center;
  margin-bottom: 8px;
}

.chips--inline {
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
}

.chips a {
  padding: 8px 12px;
  border-radius: 0;
}

.sort {
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.sort a[aria-current] {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.text {
  margin-inline: auto;
}

/* --- product page -------------------------------------------------------------------- */
.product {
  margin-top: 12px;
}

/* one photograph at a time: a row that snaps, and small pictures to pick from */
.shots {
  display: grid;
  gap: 10px;
  margin: 0 calc(-1 * var(--gutter)) 20px;
}

.shots .gallery {
  display: flex;
  gap: 0;
  margin: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shots .gallery > * {
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--wash);
  scroll-margin-top: calc(var(--head) + 24px);
  scroll-snap-align: start;
}

.shots__thumbs {
  display: flex;
  gap: 8px;
  order: 1; /* under the photograph on a phone */
  padding: 0 var(--gutter);
}

.shots__thumbs a {
  flex: none;
  width: 56px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 1px transparent;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.shots__thumbs a[aria-current],
.shots__thumbs a:hover {
  opacity: 1;
}

.shots__thumbs a[aria-current] {
  box-shadow: 0 0 0 1px var(--ink);
}

.shots__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product h1 {
  font: 400 1.375rem/1.3 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product__rating {
  margin: 10px 0 0;
  font-size: 0.875rem;
  font-weight: 400;
}

/* the price is plain type here, not a sticker */
.tag,
.tag--big {
  padding: 0;
  background: none;
  clip-path: none;
  color: inherit;
  font: 400 1rem/1.4 var(--body);
  letter-spacing: 0.02em;
}

.tag--big {
  font-size: 1.125rem;
}

.product__price {
  gap: 10px;
  margin: 10px 0 22px;
}

.variant {
  padding: 10px 16px;
  font-size: 0.875rem;
}

.product__text {
  max-width: 52ch;
  margin: -4px 0 26px;
}

.product__text p {
  margin-bottom: 0.8em;
}

.reviews {
  gap: 0;
}

.review {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

.review__reply {
  border-left-color: var(--line);
}

/* --- cart, checkout, the review form --------------------------------------------------- */
.line__photo {
  aspect-ratio: 4 / 5;
}

.line__amount,
.summary__total,
.mini__total {
  font: 500 0.9375rem/1.5 var(--body);
  letter-spacing: 0.04em;
  text-transform: none;
}

.qty button {
  font: 400 1rem var(--body);
}

.field label,
.field legend {
  color: var(--muted);
  font-size: 0.625rem;
}

.field .choice {
  color: var(--ink);
  font: 400 0.9375rem/1.5 var(--body);
  letter-spacing: 0.01em;
  text-transform: none;
}

.lines {
  max-width: 760px;
  margin-inline: auto;
}

/* --- checkout: the form in parts, the order on a panel beside it ------------------------ */
.checkout {
  gap: 28px;
}

.checkout__form {
  gap: 30px;
  max-width: none;
}

.step {
  display: grid;
  gap: 14px;
}

.step__title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

.step__row {
  display: grid;
  gap: 14px;
}

.options {
  display: grid;
  gap: 8px;
}

.option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.option input {
  margin: 0;
  accent-color: var(--ink);
}

.option__note {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* the address is asked only when the order is delivered */
.step:has(input[value="pickup"]:checked) .field--address {
  display: none;
}

.more summary {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  list-style: none;
  cursor: pointer;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more summary::after {
  content: "+";
  font: 300 1.125rem/1 var(--body);
  letter-spacing: 0;
}

.more[open] summary::after {
  content: "–";
}

.more .field {
  margin-top: 14px;
}

.checkout__form .btn {
  width: 100%;
  min-height: 54px;
}

.checkout__note {
  margin-top: -16px;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.promises {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: -10px;
  padding: 0;
  color: var(--muted);
  font-size: 0.625rem;
  list-style: none;
}

/* the order: above the form on a phone, a panel that stays in view beside it on a desk */
.checkout__cart {
  order: -1;
  margin-inline: calc(-1 * var(--gutter));
  padding: 24px var(--gutter);
  background: var(--wash);
}

.checkout__cart .step__title {
  border-color: #dcdcd8;
}

.basket {
  display: grid;
  gap: 16px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.basket li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.basket__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #fff;
}

.basket__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket__photo b {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--ink);
  color: #fff;
  font: 500 0.6875rem/1 var(--body);
}

.basket__name small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.field--promo input {
  background: #fff;
}

.sums {
  margin: 22px 0 16px;
  padding-top: 14px;
  border-top: 1px solid #dcdcd8;
}

.sums p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.sums__for {
  display: none; /* the checked way's lines are shown by the style at the page's end */
}

.sums .sums__total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #dcdcd8;
  font-size: 1.125rem;
  font-weight: 500;
}

.checkout__back {
  color: var(--muted);
  font-size: 0.8125rem;
  text-underline-offset: 4px;
}

@media (min-width: 560px) {
  .step__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* in one line, with a thin rule between */
  .promises {
    display: flex;
    justify-content: center;
    gap: 0;
  }

  .promises li + li::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin: 0 12px;
    background: #c9c9c5;
    vertical-align: middle;
  }
}

@media (min-width: 900px) {
  .checkout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 64px;
  }

  .checkout__cart {
    position: sticky;
    top: calc(var(--head) + 24px);
    order: 0;
    margin: 0;
    padding: 30px 32px 28px;
  }
}

.summary,
.done {
  margin-inline: auto;
}

.review-item,
.review-item legend img,
.notice {
  border-radius: 0;
}

.notice {
  background: var(--wash);
}

/* --- footer ---------------------------------------------------------------------------- */
.foot {
  padding: 56px 0 28px;
  border: 0;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot__grid {
  display: grid;
  gap: 34px;
}

.foot .brand {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.125rem;
}

.foot h2 {
  margin-bottom: 14px;
  color: var(--ink);
}

.foot ul {
  display: grid;
  gap: 7px;
  margin-top: 0;
}

.foot__about ul {
  margin-top: 14px;
}

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

.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot__rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 260px;
}

.foot__base {
  margin-top: 44px;
  padding-top: 20px;
  box-shadow: 0 -1px 0 var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* --- wider screens ------------------------------------------------------------------------ */
@media (min-width: 700px) {
  :root {
    --gutter: 24px;
    --gap: 88px;
  }

  .heading {
    font-size: 1.5rem;
  }

  .heading--small {
    font-size: 0.9375rem;
  }

  .benefits ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid {
    gap: 44px 24px;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .pagehead img {
    height: 360px;
  }

  .pagehead .heading {
    font-size: 2rem;
  }

  .foot__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

@media (min-width: 860px) {
  .spotlight {
    grid-template-columns: minmax(0, 520px) minmax(0, 480px);
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding-block: 76px;
  }

  .voices ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .voices li {
    padding: 4px 32px;
  }

  .voices li + li {
    border-left: 1px solid var(--line);
  }

  .story {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
  }
}

@media (min-width: 1000px) {
  :root {
    --gutter: 40px;
  }

  /* one row: the menu, the name in the middle, the tools */
  .top {
    grid-template-columns: 1fr auto 1fr;
    height: var(--head);
    padding-block: 0;
  }

  .menu {
    grid-column: auto;
    order: 0;
    gap: 30px;
  }

  .brand {
    font-size: 1.5rem;
  }

  .tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
  }

  .top .search {
    order: 0;
    width: 170px;
  }

  .search input {
    border-color: transparent;
    background-color: transparent;
  }

  .search input:focus {
    border-color: var(--ink);
  }

  /* on the home page the header lies over the photograph */
  .home .hero {
    margin-top: calc(-1 * var(--head) - 1px);
  }

  .home .slide {
    height: min(88vh, 760px);
  }

  .home .slide__text {
    margin-top: calc(var(--head) + clamp(36px, 7vh, 84px));
  }

  /* ...on a little light, so the menu reads over whatever the photograph has up there */
  .home .slide::after {
    content: "";
    grid-area: 1 / 1;
    align-self: start;
    height: 150px;
    background: linear-gradient(rgb(255 255 255 / 78%), rgb(255 255 255 / 0%));
    pointer-events: none;
  }

  .product h1 {
    font-size: 1.625rem;
  }

  .shots {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin: 0;
  }

  .shots--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .shots__thumbs {
    order: 0;
    flex-direction: column;
    padding: 0;
  }

  .shots__thumbs a {
    width: 100%;
  }

  .product__info {
    top: calc(var(--head) + 24px);
  }
}

/* ...and is clear glass at the very top, where the browser can tie that to the scroll */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1000px) {
    .home .top {
      animation: head-in linear both;
      animation-timeline: scroll();
      animation-range: 0 140px;
    }
  }

  @keyframes head-in {
    from {
      border-color: transparent;
      background-color: rgb(255 255 255 / 0%);
      backdrop-filter: none;
    }
  }
}

@media (hover: none) {
  .card__add {
    display: none; /* no pointer to come up under: the card itself leads to the product */
  }
}

@media (prefers-reduced-motion: reduce) {
  .card__photo img,
  .card__add,
  .tile img {
    transition: none;
  }
}
