:root {
  --obsidian: #0b0810;
  --aubergine: #1a1020;
  --paper: #f2efe7;
  --paper-deep: #e5dfd3;
  --graphite: #211d24;
  --muted: #5e5861;
  --ultraviolet: #9669f5;
  --aqua: #70e0d2;
  --white: #fffdf9;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1380px, calc(100% - 48px));
  --line: rgba(33, 29, 36, 0.16);
  --shadow: 0 24px 70px rgba(24, 15, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--graphite);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--obsidian);
  background: var(--aqua);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  background: rgba(11, 8, 16, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  width: fit-content;
}

.brand img,
.site-footer__brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  font-size: 13px;
}

.desktop-nav a,
.site-footer a,
.mobile-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover,
.mobile-nav a:hover {
  color: var(--aqua);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.cart-trigger {
  padding: 8px 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.cart-trigger span {
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  color: var(--obsidian);
  background: var(--aqua);
  border-radius: 999px;
  font: 700 10px/1 var(--utility);
}

.menu-trigger,
.mobile-nav {
  display: none;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--obsidian);
  background: var(--aqua);
  border: 1px solid var(--aqua);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--white);
  background: transparent;
  transform: translateY(-2px);
}

.button--small {
  min-height: 36px;
  padding: 0 17px;
  font-size: 11px;
  text-transform: uppercase;
}

.button--dark {
  color: var(--white);
  background: var(--obsidian);
  border-color: var(--obsidian);
}

.button--dark:hover {
  color: var(--obsidian);
  background: transparent;
}

.text-link {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.text-link--light {
  color: var(--white);
}

.eyebrow {
  display: block;
  color: var(--aqua);
  font: 700 11px/1.3 var(--utility);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #5e408f;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 8vw, 132px) max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 73% 43%, rgba(112, 224, 210, 0.08), transparent 27%),
    linear-gradient(115deg, var(--obsidian) 0%, var(--aubergine) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 8 112 60 60 112 8 60Z' fill='none' stroke='%23fff' stroke-opacity='.14'/%3E%3Ccircle cx='60' cy='60' r='22' fill='none' stroke='%2370e0d2' stroke-opacity='.15'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mask-image: linear-gradient(to right, transparent, #000 65%);
}

.hero__copy,
.altar {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 700px;
  margin: 22px 0 28px;
  font: 400 clamp(48px, 5.2vw, 82px)/0.98 var(--display);
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--ultraviolet);
  font-weight: 400;
}

.hero__lede {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 253, 249, 0.73);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero__lede strong {
  color: var(--white);
  font-weight: 600;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.proof-list {
  margin: 42px 0 0;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 253, 249, 0.6);
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-list span {
  margin-right: 7px;
  color: var(--aqua);
}

.altar {
  min-height: 590px;
  isolation: isolate;
}

.altar__halo {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: -1;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(112, 224, 210, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(150, 105, 245, 0.23), inset 0 0 80px rgba(112, 224, 210, 0.06);
  transform: translate(-50%, -50%);
}

.altar__halo::before,
.altar__halo::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(150, 105, 245, 0.34);
  transform: rotate(45deg);
}

.altar__halo::after {
  inset: 23%;
  border-color: rgba(255, 253, 249, 0.16);
}

.altar__panel {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--aubergine);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
  transition: filter 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.altar__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 600ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.altar__panel:hover img {
  transform: scale(1.035);
}

.altar__panel figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 12px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(11, 8, 16, 0.88));
  font: 700 9px/1.3 var(--utility);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.altar__panel--one {
  top: 2%;
  left: 4%;
  width: 46%;
  height: 74%;
  clip-path: polygon(0 0, 100% 8%, 91% 100%, 8% 94%);
  transform: rotate(-3deg);
}

.altar__panel--two {
  top: 24%;
  right: 1%;
  z-index: 2;
  width: 42%;
  height: 66%;
  clip-path: polygon(9% 5%, 100% 0, 94% 94%, 0 100%);
  transform: rotate(3deg);
}

.altar__panel--three {
  right: 29%;
  bottom: 0;
  z-index: 3;
  width: 30%;
  height: 45%;
  clip-path: polygon(7% 0, 100% 7%, 93% 100%, 0 93%);
  transform: rotate(-1deg);
}

.altar.is-daylight .altar__panel img {
  filter: saturate(0.72) brightness(1.15) sepia(0.08);
}

.altar.is-daylight .altar__halo {
  opacity: 0.3;
}

.light-switch {
  position: absolute;
  right: 2%;
  bottom: 1%;
  z-index: 6;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: rgba(11, 8, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.light-switch__track {
  position: relative;
  width: 34px;
  height: 18px;
  display: block;
  background: var(--ultraviolet);
  border-radius: 999px;
}

.light-switch__track span {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 240ms ease;
}

.altar.is-daylight .light-switch__track span {
  transform: translateX(-16px);
}

.metrics {
  position: relative;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: var(--obsidian);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics article {
  min-height: 132px;
  padding: 28px clamp(20px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics article:last-of-type {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics strong {
  grid-row: 1 / 3;
  color: var(--aqua);
  font: 400 clamp(34px, 3vw, 52px)/0.9 var(--display);
}

.metrics span {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.metrics small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.catalogue {
  padding: clamp(82px, 10vw, 150px) max(24px, calc((100vw - 1380px) / 2));
}

.section-heading {
  position: relative;
  margin-bottom: 42px;
  padding-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.reviews h2,
.contact h2 {
  margin: 9px 0 0;
  font: 400 clamp(42px, 6vw, 76px)/0.98 var(--display);
  letter-spacing: -0.045em;
}

.catalogue__count {
  margin: 0;
  color: var(--muted);
  font: 700 11px/1 var(--utility);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-bar {
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.group-control {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font: 700 10px/1 var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-control select {
  min-width: 110px;
  padding: 10px 30px 10px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--graphite);
  outline-offset: 2px;
  font: 600 12px/1 var(--body);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 24px;
}

.loading-state,
.empty-state {
  grid-column: 1 / -1;
  padding: 80px 0;
  color: var(--muted);
  text-align: center;
}

.product-group-title {
  grid-column: 1 / -1;
  margin: 28px 0 -20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font: 700 11px/1 var(--utility);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 0.83;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-card__media img,
.product-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 300ms ease;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 35%, rgba(112, 224, 210, 0.2), transparent 22%),
    linear-gradient(145deg, var(--aubergine), var(--obsidian));
  text-align: left;
}

.video-placeholder::before {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 224, 210, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video-placeholder small {
  margin-bottom: 6px;
  color: var(--aqua);
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-placeholder strong {
  max-width: 260px;
  font: 400 25px/1.05 var(--display);
}

.product-card:hover .product-card__media img,
.product-card:hover .product-card__media video {
  transform: scale(1.025);
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(33, 29, 36, 0.08);
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 9px;
  color: var(--white);
  background: var(--obsidian);
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__body {
  padding-top: 17px;
}

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

.product-card h3 {
  margin: 0;
  font: 400 clamp(22px, 2.2vw, 30px)/1.05 var(--display);
  letter-spacing: -0.025em;
}

.product-card h3 a:hover {
  color: #5e408f;
}

.product-card__price {
  flex: 0 0 auto;
  margin: 2px 0 0;
  font: 700 12px/1.2 var(--utility);
}

.product-card__original {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: line-through;
}

.product-card__description {
  min-height: 46px;
  margin: 12px 0 17px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-card__button {
  padding: 4px 0;
  background: transparent;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.product-card__tag {
  color: var(--muted);
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews {
  position: relative;
  padding: clamp(82px, 10vw, 145px) max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
  color: var(--white);
  background: var(--aubergine);
}

.reviews__intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.reviews__intro .text-link {
  margin-top: 32px;
}

.reviews__stage {
  display: grid;
  gap: 18px;
}

.review-skeleton,
.review-card {
  min-height: 150px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.review-skeleton {
  color: rgba(255, 255, 255, 0.34);
}

.review-skeleton:nth-child(2) {
  margin-left: 7%;
}

.review-skeleton:nth-child(3) {
  margin-left: 14%;
}

.review-skeleton span,
.review-card__rating {
  color: var(--aqua);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.review-card blockquote {
  margin: 17px 0 22px;
  font: 400 21px/1.35 var(--display);
}

.review-card footer {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.contact {
  position: relative;
  padding: clamp(82px, 9vw, 130px) max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 9vw, 140px);
  background: var(--paper-deep);
}

.contact__copy p {
  max-width: 450px;
  margin: 28px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font: 700 10px/1 var(--utility);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  color: var(--graphite);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(33, 29, 36, 0.38);
  border-radius: 0;
  outline: none;
  font: 400 15px/1.5 var(--body);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ultraviolet);
}

.contact-form__message,
.contact-form .button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  position: relative;
  padding: 72px max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 60px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--obsidian);
  font-size: 12px;
}

.site-footer ul {
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font: 400 23px/1.2 var(--display);
}

.site-footer a {
  width: fit-content;
  margin-bottom: 8px;
  display: block;
}

.site-footer p {
  margin: 22px 0 10px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav span {
  margin-top: 22px;
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.payment-list img {
  width: 48px;
  height: 32px;
  padding: 5px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.drawer-header button,
.dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.cart-drawer[hidden] {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 8, 16, 0.62);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100%;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--graphite);
  background: var(--paper);
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.28);
}

.drawer-header {
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font: 400 34px/1 var(--display);
}

.drawer-header button {
  border-color: var(--line);
}

.cart-items {
  padding: 18px 0;
  overflow-y: auto;
}

.cart-empty {
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 88px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 5px;
  font: 400 18px/1.15 var(--display);
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.cart-item button {
  align-self: start;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 10px;
}

.drawer-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.drawer-footer > div {
  margin-bottom: 17px;
  display: flex;
  justify-content: space-between;
}

.drawer-footer .button {
  width: 100%;
}

.drawer-footer p {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.product-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--graphite);
  background: var(--paper);
  border: 0;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(11, 8, 16, 0.76);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  color: var(--white);
}

.dialog-product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.dialog-product__media {
  min-height: 620px;
  background: var(--paper-deep);
}

.dialog-product__media img,
.dialog-product__media video {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
}

.dialog-product__body {
  padding: clamp(34px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dialog-product__body h2 {
  margin: 9px 0 24px;
  font: 400 clamp(36px, 4vw, 55px)/0.98 var(--display);
  letter-spacing: -0.04em;
}

.dialog-product__description {
  max-height: 190px;
  margin: 0 0 26px;
  overflow-y: auto;
  white-space: pre-line;
  color: var(--muted);
  font-size: 13px;
}

.dialog-product label {
  margin-bottom: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font: 700 10px/1 var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-product select {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  font: 500 13px/1.3 var(--body);
}

.dialog-product__buy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dialog-product__price {
  min-width: 75px;
  font: 700 14px/1 var(--utility);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 160;
  padding: 12px 18px;
  color: var(--white);
  background: var(--obsidian);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 200ms ease, transform 200ms ease;
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-trigger {
    width: 34px;
    height: 34px;
    display: grid;
    place-content: center;
    gap: 6px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-trigger span:not(.sr-only) {
    width: 22px;
    height: 1px;
    display: block;
    background: currentColor;
  }

  .mobile-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    padding: 24px;
    color: var(--white);
    background: var(--obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
  }

  .altar {
    min-height: 500px;
  }

  .metrics article {
    padding-inline: 20px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100% - 36px);
  }

  .site-header {
    min-height: 68px;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 620px;
  }

  .altar {
    min-height: 620px;
  }

  .altar__halo {
    width: min(72vw, 500px);
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics article:nth-of-type(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .metrics article:nth-of-type(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews,
  .contact {
    grid-template-columns: 1fr;
  }

  .reviews__intro {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-product {
    grid-template-columns: 1fr;
  }

  .dialog-product__media {
    min-height: 380px;
    max-height: 50vh;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .metrics,
  .catalogue,
  .reviews,
  .contact,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand img {
    height: 44px;
  }

  .header-actions {
    gap: 8px;
  }

  .cart-trigger {
    font-size: 0;
  }

  .cart-trigger::before {
    content: "Cart";
    font-size: 12px;
  }

  .mobile-nav:not([hidden]) {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .text-link {
    align-self: center;
  }

  .proof-list {
    display: grid;
    gap: 9px;
  }

  .altar {
    min-height: 470px;
  }

  .altar__panel--one {
    left: 0;
    width: 52%;
  }

  .altar__panel--two {
    width: 47%;
  }

  .altar__panel--three {
    right: 28%;
    width: 38%;
  }

  .light-switch {
    right: 0;
  }

  .metrics article {
    min-height: 112px;
    padding: 20px 12px;
    display: block;
  }

  .metrics strong,
  .metrics span,
  .metrics small {
    display: block;
  }

  .metrics span {
    margin-top: 6px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-list {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding: 0 18px 8px;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .group-control {
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .product-card__media {
    aspect-ratio: 0.92;
  }

  .review-skeleton:nth-child(2),
  .review-skeleton:nth-child(3) {
    margin-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dialog-product__media {
    min-height: 300px;
  }

  .dialog-product__body {
    padding: 28px 22px;
  }

  .dialog-product__buy {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Production storefront additions */

#products,
#reviews,
#contact {
  scroll-margin-top: 76px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.product-card__media {
  width: 100%;
  padding: 0;
  display: block;
  border: 0;
  cursor: zoom-in;
}

.cube-interlude {
  min-height: 590px;
  padding: clamp(78px, 10vw, 140px) max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 50%, rgba(150, 105, 245, 0.2), transparent 28%),
    linear-gradient(135deg, #130d18, var(--obsidian));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cube-interlude__copy h2 {
  margin: 12px 0 20px;
  font: 400 clamp(48px, 7vw, 88px)/0.9 var(--display);
  letter-spacing: -0.055em;
}

.cube-interlude__copy p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.cube-scene {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.cube-scene::before,
.cube-scene::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(112, 224, 210, 0.13);
  transform: rotate(45deg);
}

.cube-scene::before {
  width: 340px;
  height: 340px;
}

.cube-scene::after {
  width: 250px;
  height: 250px;
  border-color: rgba(150, 105, 245, 0.2);
  transform: rotate(15deg);
}

.cube-interlude .cube-container {
  width: 340px;
  height: 340px;
  display: grid;
  place-items: center;
  touch-action: none;
}

.cube-interlude .floating-cube {
  --cube-edge-hsl: 169 63% 66%;
  --cube-edge-alpha: 0.45;
  --cube-img-opacity: 0.72;
  --cube-img-hover-opacity: 0.9;
}

.reviews__summary {
  margin: 24px 0 -12px;
  color: rgba(255, 255, 255, 0.58);
  font: 700 10px/1.4 var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card {
  position: relative;
  overflow: hidden;
}

.review-card__image {
  width: 108px;
  height: 108px;
  margin: -8px 0 22px auto;
  object-fit: cover;
  clip-path: polygon(5% 0, 100% 8%, 94% 100%, 0 92%);
}

.review-card h3 {
  margin: 15px 0 -5px;
  color: var(--white);
  font: 400 20px/1.2 var(--display);
}

.review-card blockquote p {
  margin: 0;
}

.review-empty {
  margin: 0;
  padding: 28px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status.is-success {
  color: #246b5f;
}

.form-status.is-error {
  color: #9b2f3f;
}

.footer-link {
  width: fit-content;
  margin: 0 0 8px;
  padding: 0;
  display: block;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  text-align: left;
  transition: color 180ms ease;
}

.footer-link:hover {
  color: var(--aqua);
}

.cart-item__body {
  min-width: 0;
}

.cart-quantity {
  width: fit-content;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 28px 32px 28px;
  align-items: center;
  border: 1px solid var(--line);
}

.cart-quantity button,
.cart-quantity span {
  width: 100%;
  height: 28px;
  display: grid;
  place-items: center;
}

.cart-quantity button {
  padding: 0;
  color: var(--graphite);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}

.cart-quantity span {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font: 700 10px/1 var(--utility);
}

.cart-item .cart-item__remove {
  align-self: start;
}

.drawer-footer .shipping-note {
  min-height: 0;
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}

.dialog-product__link {
  width: fit-content;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .cube-interlude {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cube-interlude__copy {
    text-align: center;
  }

  .cube-interlude__copy p {
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .cube-interlude {
    min-height: 610px;
    padding: 72px 18px;
  }

  .cube-scene {
    min-height: 290px;
  }

  .cube-scene::before {
    width: 250px;
    height: 250px;
  }

  .cube-scene::after {
    width: 190px;
    height: 190px;
  }

  .cube-interlude .cube-container {
    width: 270px;
    height: 270px;
  }

  .cart-item {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-item img {
    width: 62px;
    height: 78px;
  }
}
