@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl Mono";
  src: url("../fonts/SuisseIntlMono-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl Mono";
  src: url("../fonts/SuisseIntlMono-Bold-WebXL.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@property --bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #F4F4F4;
}

@property --fg {
  syntax: "<color>";
  inherits: true;
  initial-value: #000000;
}

:root {
  --page: #F4F4F4;
  --ink: #000000;
  --paper: #F4F4F4;
  --mono: "Suisse Intl Mono", monospace;
  --sans: "Suisse Intl", Verdana, sans-serif;
  --margin: 24px;
  color-scheme: light;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

html {
  font-size: 16px;
}

body {
  --bg: var(--page);
  --fg: var(--ink);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  transition: --bg 0.6s ease, --fg 0.6s ease;
}

body[data-tone="light"] {
  --fg: var(--paper);
}

body.is-menu {
  --bg: var(--paper);
  --fg: var(--ink);
}

body.is-menu .mast,
body.is-menu .foot {
  background: var(--paper);
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  position: relative;
  z-index: 1;
}

.stage {
  position: relative;
  min-height: 0;
}

#view {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  outline: none;
}

#view[data-scroll="fixed"] {
  overflow: hidden;
}

body.is-menu #view,
body.is-cart #view {
  overflow: hidden;
}

.view__content {
  min-height: 100%;
}

.mast,
.foot {
  padding-left: var(--margin);
  padding-right: var(--margin);
}

.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 16px;
  padding-top: 16px;
  position: relative;
  z-index: 4;
}

.mast__brand,
.loader__brand {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.mast__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mast__rule,
.foot__rule,
.loader__bar {
  height: 1px;
  background: var(--fg);
}

.mast__rule {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.mast__brand,
.mast__rule,
.burger,
.foot {
  opacity: 0;
}

html.is-ready .mast__brand,
html.is-ready .mast__rule,
html.is-ready .burger,
html.is-ready .foot {
  opacity: 1;
}

html.is-ready .burger,
html.is-ready .foot {
  transition: opacity 0.5s ease, color 0.6s ease;
}

.burger {
  width: 18px;
  height: 18px;
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.45, 0, 0.55, 1), top 0.35s cubic-bezier(0.45, 0, 0.55, 1), opacity 0.2s ease;
}

.burger span:nth-child(1) { top: 3px; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 13px; }

body.is-menu .burger span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

body.is-menu .burger span:nth-child(2) { opacity: 0; }

body.is-menu .burger span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 24px;
  padding-bottom: 14px;
  position: relative;
  z-index: 3;
}

.foot__rule {
  grid-column: 1 / -1;
  margin-bottom: 12px;
  transform-origin: left center;
}

.foot__place {
  position: relative;
  margin: 0;
  font-size: 14px;
  width: max-content;
  max-width: 100%;
  cursor: none;
}

.foot__place .btn {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  opacity: 0;
  pointer-events: none;
  cursor: none;
  transition: none;
}

.foot__place .btn:hover {
  transform: none;
}

.foot__place.is-hot .btn {
  position: fixed;
  left: var(--map-x);
  top: var(--map-y);
  bottom: auto;
  z-index: 8;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.foot__place:focus-within .btn,
.foot__place.is-open .btn {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.foot__mark {
  display: block;
  line-height: 0;
  color: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-content: center;
  padding: 0 var(--margin);
  background: var(--paper);
  color: var(--ink);
}

html.is-ready .loader {
  display: none;
}

.loader__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.loader__pct {
  font-family: var(--mono);
  font-size: 16px;
}

.loader__bar {
  background: transparent;
}

.loader__fill {
  display: block;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.btn {
  display: inline-block;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.6s ease, color 0.6s ease;
}

body[data-tone="light"] .btn {
  background: var(--paper);
  color: var(--ink);
}

body.is-menu .btn {
  background: var(--ink);
  color: var(--paper);
}

.btn:hover {
  transform: translateY(-3px);
  opacity: 0.82;
}

.bag {
  position: relative;
  width: 23px;
  height: 33px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.bag svg {
  display: block;
}

.bag__count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.menu {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: auto;
  padding: 36px var(--margin) 48px;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-menu .menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s ease;
}

.nav-link,
.section-head__title {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.nav-link {
  display: block;
  width: min(640px, 78%);
  margin: 0 0 28px;
  color: inherit;
  text-decoration: none;
}

.nav-link__word,
.section-head__title {
  display: block;
  height: 0.95em;
  margin: 0;
  overflow: hidden;
}

.char {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 0.95;
}

.char__in {
  display: inline-block;
}

.nav-link__line,
.section-head__line {
  display: block;
  position: relative;
  box-sizing: content-box;
  height: 1px;
  margin: 0;
  padding-top: 10px;
}

.nav-link__tick,
.section-head__tick {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 14px;
  background: currentColor;
}

.section-head__tick {
  background: var(--fg);
}

.nav-link__rule,
.section-head__rule,
.js-draw {
  display: block;
  height: 1px;
  transform-origin: left center;
}

.nav-link__rule {
  background: currentColor;
  transform: scaleX(0);
}

.section-head {
  padding: 28px var(--margin) 0;
}

.section-head__rule,
.foot__rule {
  background: var(--fg);
}

.js-draw {
  transform: scaleX(1);
}

.home {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #111;
  opacity: 0;
}

html.is-ready .home {
  opacity: 1;
  transition: opacity 0.8s ease;
}

.home__frames,
.home__frame {
  position: absolute;
  inset: 0;
}

.home__frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.home__frame.is-on {
  opacity: 1;
}

.shop {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  padding: 32px var(--margin) 72px;
}

.shop__cats {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.shop__cats button {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 3px;
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.shop__cats button.is-on {
  border-bottom-color: currentColor;
}

.shop__list {
  grid-column: 5 / span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
  align-content: start;
}

.shop__empty {
  grid-column: 1 / -1;
  margin: 0;
}

.card__face {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card, #e2e2e2);
  color: var(--ink);
  text-decoration: none;
}

.card__face.is-light {
  color: var(--paper);
}

.card__face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.card__name,
.card__sub {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 1;
  text-align: center;
}

.card__name {
  top: 50%;
  margin: 0;
  font-size: clamp(28px, 2.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  transform: translateY(-50%);
}

.card__sub {
  bottom: 28px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 14px;
}

.product {
  padding: 22px var(--margin) 72px;
}

.product__bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.crumbs,
.tick-label,
.price,
.back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crumbs {
  margin: 0;
}

.product__layout {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 28px;
}

.back {
  grid-column: 1 / span 3;
  align-self: start;
  width: max-content;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.product__main {
  grid-column: 4 / span 13;
  min-width: 0;
}

.product__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 12px;
}

.product__title {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.product__sub {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.product__rule {
  height: 1px;
  margin: 8px 0 28px;
  background: var(--fg);
}

.prose {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.45;
}

.prose p {
  margin: 0 0 1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  font-weight: 700;
}

.buy {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  align-items: flex-start;
  margin-top: 56px;
}

.buy fieldset,
.opt {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.tick-label {
  display: inline-block;
  margin: 0 0 12px;
  font-weight: 700;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 280px;
}

.choices label {
  width: max-content;
  cursor: pointer;
}

.choices input {
  position: absolute;
  opacity: 0;
}

.choices span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.choices input:checked + span,
.choices input:focus-visible + span {
  border-bottom-color: currentColor;
}

.price {
  margin: 8px 0 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.weekly,
.about,
.contact {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: 24px;
  padding: 28px var(--margin) 72px;
  min-height: 100%;
}

.weekly__figure,
.weekly__empty {
  grid-column: 8 / -1;
  margin: 0;
  justify-self: end;
}

.weekly__figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 230px);
}

.weekly__empty {
  justify-self: start;
  max-width: 28ch;
}

.about figure {
  grid-column: 1 / span 7;
  margin: 0;
}

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

.about .prose {
  grid-column: 10 / span 6;
}

.contact__form {
  grid-column: 9 / span 7;
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact label {
  display: grid;
  gap: 8px;
}

.contact label span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact input,
.contact textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__form .btn {
  justify-self: start;
}

.contact__note {
  margin: 0;
  max-width: 36ch;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.quiet {
  padding: 32px var(--margin);
  margin: 0;
}

.cart {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.cart.is-open {
  pointer-events: auto;
}

.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  background: var(--ink);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.2, 1);
}

.cart.is-open .cart__panel {
  transform: translateX(0);
}

.cart__top,
.cart__total,
.cart__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cart__title {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart .btn {
  background: var(--paper);
  color: var(--ink);
}

.cart__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1;
}

.cart__line {
  align-items: flex-end;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.35);
}

.cart__name {
  margin: 0;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cart__sub,
.cart__meta {
  margin: 6px 0 0;
}

.cart__meta,
.cart__remove {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart__remove {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.cart__empty {
  margin: 0;
}

.cart__bottom {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.cart__total {
  width: 100%;
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
}

.cart__note {
  margin: 0;
  max-width: 36ch;
  line-height: 1.4;
}

[hidden] {
  display: none !important;
}

@media (max-width: 800px) {
  .shop__cats {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .shop__list,
  .about figure,
  .about .prose,
  .contact__form,
  .weekly__figure,
  .weekly__empty,
  .back,
  .product__main {
    grid-column: 1 / -1;
  }

  .shop__list,
  .product__name {
    grid-template-columns: 1fr;
  }

  .buy {
    flex-direction: column;
  }

  .product__sub,
  .weekly__figure {
    text-align: left;
    justify-self: start;
  }

  .nav-link {
    width: 100%;
  }
}

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

  .js-draw,
  .nav-link__rule {
    transform: none;
  }
}
