:root {
  --black: #090909;
  --soft-black: #141414;
  --white: #f7f6f1;
  --paper: #ecebe5;
  --green: #9cff57;
  --pink: #f4a3c4;
  --blue: #5d9cff;
  --border: rgba(247, 246, 241, 0.24);
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.3;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

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

a {
  text-decoration: none;
}

.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;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 68px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition:
    background 240ms ease,
    color 240ms ease,
    transform 240ms ease;
}

.site-header.is-solid {
  background: rgba(9, 9, 9, 0.94);
}

.brand {
  display: flex;
  width: 112px;
  height: 48px;
  align-items: center;
}

.brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
  filter: invert(1);
}

.site-footer__logo img {
  width: 100%;
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.desktop-nav a,
.header-link,
.site-footer a {
  position: relative;
}

.desktop-nav a::after,
.header-link::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.header-link:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-link {
  justify-self: end;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero-slide,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.001);
  transition:
    opacity 700ms ease,
    transform 7s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.015);
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.hero-slide--group img {
  object-position: center 58%;
}

.hero-slide--skate img {
  object-position: center 38%;
}

.hero-slide--studio img {
  object-position: center;
}

.hero-wash {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at center, transparent 24%, rgba(0, 0, 0, 0.16) 100%);
  transition: opacity 300ms ease;
}

.hero[data-slide="2"] .hero-wash {
  opacity: 0.28;
}

.hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 3;
  width: min(390px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(7, 7, 7, 0.92);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.32);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.hero-panel.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.hero-panel__logo {
  display: grid;
  height: 150px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}

.hero-panel__logo img {
  width: 82%;
  height: 100%;
  padding: 10px 0;
  object-fit: contain;
}

.hero-panel__copy {
  padding: 12px 2px 22px;
}

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

.hero-panel h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero-panel__copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-panel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  background: var(--white);
  color: var(--black);
}

.button--light:hover {
  background: var(--green);
}

.text-link {
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-coordinate {
  position: absolute;
  z-index: 3;
  top: 50%;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-coordinate--left {
  left: 18px;
  transform: rotate(180deg) translateY(50%);
}

.hero-coordinate--right {
  right: 18px;
  transform: translateY(-50%);
}

.hero-index {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 58px;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.hero-dot {
  position: relative;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.hero-dot:hover {
  border-color: var(--white);
}

.hero-dot.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
}

.ticker {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.88);
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: ticker 20s linear infinite;
}

.ticker span {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.ticker span::after {
  margin: 0 34px;
  color: var(--green);
  content: "✦";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 112px 28px;
}

.shop {
  background: var(--black);
}

.section-heading {
  display: flex;
  max-width: 1500px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 44px;
}

.section-heading h2,
.manifesto h2 {
  margin: 0;
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.section-heading__note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-card--wide {
  grid-column: span 1;
}

.product-card__button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 1693;
  background: var(--soft-black);
  overflow: hidden;
}

.product-card:not(.product-card--wide) .product-card__media {
  height: auto;
}

.product-card__media::after {
  position: absolute;
  inset: 0;
  border: 12px solid transparent;
  content: "";
  transition: border-color 200ms ease;
}

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

.product-card__button:hover .product-card__media img,
.product-card__button:focus-visible .product-card__media img {
  filter: saturate(1.14);
  transform: scale(1.035);
}

.product-card__button:hover .product-card__media::after,
.product-card__button:focus-visible .product-card__media::after {
  border-color: var(--green);
}

.product-card__details {
  display: flex;
  min-height: 96px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
}

.product-card__details strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 34px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.product-card__number,
.product-card__price {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.product-card__price {
  white-space: nowrap;
}

.manifesto {
  position: relative;
  display: grid;
  min-height: 72svh;
  align-items: center;
  gap: clamp(36px, 6vw, 112px);
  padding-right: clamp(28px, 5vw, 88px);
  padding-left: clamp(28px, 5vw, 88px);
  background: var(--green);
  color: var(--black);
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
}

.manifesto__mark {
  width: 100%;
  min-width: 0;
  max-width: 460px;
  justify-self: start;
  font-size: clamp(180px, 22vw, 420px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.72;
  white-space: nowrap;
}

.manifesto__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 820px;
}

.manifesto h2 {
  max-width: 11ch;
  font-size: clamp(52px, 6.1vw, 104px);
  line-height: 0.88;
}

.manifesto__copy > p:last-child {
  margin: 30px 0 0;
  font-size: clamp(18px, 1.65vw, 26px);
  letter-spacing: -0.03em;
}

.information {
  background: var(--paper);
  color: var(--black);
}

.information .section-heading h2 {
  font-size: clamp(58px, 8vw, 130px);
}

.info-grid {
  display: grid;
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.info-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.info-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 2px;
  cursor: pointer;
  font-size: clamp(24px, 3.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  list-style: none;
}

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

.info-item summary span {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.info-item[open] summary span {
  transform: rotate(45deg);
}

.info-item__content {
  max-width: 720px;
  padding: 0 2px 30px;
  font-size: 16px;
}

.size-table {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-collapse: collapse;
}

.size-table th,
.size-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

.size-table td {
  text-align: right;
}

.site-footer {
  display: grid;
  min-height: 380px;
  align-content: space-between;
  padding: 42px 28px 24px;
  background: var(--black);
  grid-template-columns: 1fr 1fr;
}

.site-footer__logo {
  width: min(520px, 74vw);
}

.site-footer__links {
  display: flex;
  align-items: start;
  justify-content: flex-end;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: absolute;
  inset: 18px;
  display: grid;
  max-width: 1380px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--black);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  grid-template-columns: 1.25fr 0.75fr;
  overflow: hidden;
  animation: modal-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

.modal__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  padding: 9px 12px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.modal__image-wrap {
  position: relative;
  min-height: 0;
  background: var(--soft-black);
  overflow: hidden;
}

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

.modal__image-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 9px;
  background: var(--black);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.modal__content {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 76px);
  overflow-y: auto;
}

.modal__content h2 {
  margin: 0;
  font-size: clamp(44px, 5.5vw, 92px);
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.modal__description {
  margin: 32px 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.35;
}

.modal__description p {
  margin: 0 0 4px;
}

.modal__description p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.modal__price {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.modal__price span {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
}

.size-picker {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.size-picker legend {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.size-picker__options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.size-picker button {
  height: 48px;
  border: 1px solid var(--border);
  border-right: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
}

.size-picker button:last-child {
  border-right: 1px solid var(--border);
}

.size-picker button:hover,
.size-picker button.is-selected {
  background: var(--green);
  color: var(--black);
}

.button--checkout {
  width: 100%;
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
}

.button--checkout:hover {
  background: var(--white);
}

.button--checkout.is-disabled {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  transform: none;
}

.checkout-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
}

.cursor {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0;
  place-items: center;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0.6);
  transition:
    opacity 120ms ease,
    transform 160ms ease;
}

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

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    height: 58px;
    grid-template-columns: 1fr auto;
    padding: 9px 14px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    width: 96px;
  }

  .hero-panel {
    margin-top: -22px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.28);
  }

  .hero-panel__logo {
    height: 128px;
  }

  .hero-coordinate {
    display: none;
  }

  .hero-index {
    right: 14px;
    bottom: 48px;
  }

  .section {
    padding: 86px 14px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: clamp(54px, 18vw, 90px);
  }

  .section-heading__note {
    margin-top: 28px;
    text-align: left;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--wide {
    grid-column: span 1;
  }

  .product-card__media,
  .product-card:not(.product-card--wide) .product-card__media,
  .product-card--wide .product-card__media {
    height: auto;
    max-height: none;
    aspect-ratio: 1200 / 1693;
  }

  .product-card__details {
    min-height: 84px;
    align-items: start;
    padding: 13px;
  }

  .product-card__details strong {
    font-size: 18px;
  }

  .product-card__price {
    display: none;
  }

  .manifesto {
    min-height: auto;
    align-content: center;
    gap: 34px;
    padding: 76px 20px;
    grid-template-columns: 1fr;
  }

  .manifesto__mark {
    max-width: none;
    justify-self: start;
    font-size: min(48vw, 300px);
    line-height: 0.74;
  }

  .manifesto h2 {
    max-width: 10ch;
    font-size: clamp(50px, 11.5vw, 86px);
  }

  .manifesto__copy > p:last-child {
    margin: 22px 0 0;
  }

  .site-footer {
    min-height: 310px;
    padding: 32px 14px 18px;
    grid-template-columns: 1fr;
  }

  .site-footer__logo {
    width: min(360px, 80vw);
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .modal__dialog {
    inset: 0;
    display: block;
    border: 0;
    overflow-y: auto;
  }

  .modal__image-wrap {
    height: 55svh;
  }

  .modal__content {
    min-height: 45svh;
    padding: 30px 18px 36px;
    overflow: visible;
  }

  .modal__content h2 {
    max-width: 82%;
  }

  .modal__description {
    margin: 22px 0;
  }

  .cursor {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-slide--group img {
    object-position: 53% center;
  }

  .hero-slide--skate img {
    object-position: 48% center;
  }

  .hero-slide--studio img {
    object-position: 58% center;
  }

  .hero-panel {
    width: calc(100vw - 28px);
    padding: 12px;
  }

  .hero-panel__logo {
    height: 116px;
  }

  .hero-panel h1 {
    font-size: 48px;
  }

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

  .text-link {
    padding-bottom: 4px;
  }

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

  .product-card,
  .product-card--wide {
    grid-column: span 1;
  }

  .product-card__media,
  .product-card:not(.product-card--wide) .product-card__media,
  .product-card--wide .product-card__media {
    height: auto;
    max-height: none;
    aspect-ratio: 1200 / 1693;
  }

  .product-card__details strong {
    font-size: 23px;
  }

  .information .section-heading h2 {
    font-size: 17vw;
  }

  .info-item summary {
    font-size: 27px;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 12px;
  }
}

.admin-page {
  min-height: 100svh;
  background: var(--paper);
  color: var(--black);
}

.admin-header {
  display: grid;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  background: var(--white);
  grid-template-columns: 120px 1fr auto;
}

.admin-header img {
  width: 110px;
}

.admin-header span,
.admin-order span,
.admin-login span,
.admin-stats span {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.admin-header h1 {
  margin: 2px 0 0;
  font-size: 46px;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.admin-header button {
  padding: 10px 12px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.admin-main {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0 90px;
}

.admin-login {
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: var(--white);
}

.admin-login label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-login input {
  height: 48px;
  padding: 11px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: var(--paper);
}

.admin-login p {
  min-height: 16px;
  color: #a50000;
  font-family: var(--mono);
  font-size: 10px;
}

.admin-stats {
  display: grid;
  margin-bottom: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.28);
  border-left: 1px solid rgba(0, 0, 0, 0.28);
  grid-template-columns: repeat(3, 1fr);
}

.admin-stats > div {
  display: grid;
  min-height: 120px;
  align-content: space-between;
  padding: 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  background: var(--white);
}

.admin-stats strong {
  font-size: 52px;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.admin-order {
  margin-bottom: 14px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: var(--white);
}

.admin-order > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.admin-order > header > div:last-child {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.admin-order h2 {
  margin: 3px 0 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.status {
  padding: 5px 7px;
  background: #d8d8d8;
}

.status--paid {
  background: var(--green);
}

.status--pending_payment,
.status--processing {
  background: #ffe076;
}

.status--payment_failed,
.status--checkout_error,
.status--expired {
  background: #ff9c9c;
}

.admin-order__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 0.8fr;
}

.admin-order__grid > * {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.admin-order__grid > *:last-child {
  border-right: 0;
}

.admin-order__grid a,
.admin-order__grid p,
.admin-order__grid li {
  margin: 0;
  color: var(--black);
  font-size: 12px;
  line-height: 1.45;
}

.admin-order__grid ul {
  margin: 0;
  padding-left: 16px;
}

.admin-order__grid select {
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: var(--paper);
}

@media (max-width: 900px) {
  .admin-header {
    grid-template-columns: 90px 1fr;
  }

  .admin-header button {
    grid-column: 1 / -1;
  }

  .admin-order__grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-order__grid > * {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 560px) {
  .admin-stats,
  .admin-order__grid {
    grid-template-columns: 1fr;
  }

  .admin-order > header {
    display: grid;
  }

  .admin-order > header > div:last-child {
    justify-items: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.thank-you-page {
  min-height: 100svh;
}

.thank-you {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 20px;
  place-items: center;
  overflow: hidden;
}

.thank-you__art {
  position: absolute;
  inset: 0;
}

.thank-you__art span {
  position: absolute;
  width: min(24vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(2px);
}

.thank-you__art span:nth-child(1) {
  top: -6%;
  left: -3%;
  background: var(--green);
}

.thank-you__art span:nth-child(2) {
  top: 8%;
  right: -4%;
  border-radius: 0;
  background: var(--blue);
  transform: rotate(14deg);
}

.thank-you__art span:nth-child(3) {
  right: 12%;
  bottom: -12%;
  background: var(--pink);
}

.thank-you__art span:nth-child(4) {
  bottom: -15%;
  left: 9%;
  border-radius: 0;
  background: #f23857;
  transform: rotate(-18deg);
}

.thank-you__card {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100vw - 32px));
  padding: clamp(24px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(9, 9, 9, 0.94);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.35);
}

.thank-you__card > img {
  width: min(280px, 70%);
  margin-bottom: 50px;
  filter: invert(1);
}

.thank-you__card h1 {
  margin: 0 0 28px;
  font-size: clamp(52px, 9vw, 96px);
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.thank-you__card > p:not(.eyebrow) {
  max-width: 450px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.thank-you__card > p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cart-trigger {
  min-width: 110px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart-trigger span {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 5px;
  align-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
}

.modal__gallery {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 7px;
}

.modal__gallery button {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: var(--black);
  cursor: pointer;
  overflow: hidden;
}

.modal__gallery button.is-selected {
  border-color: var(--green);
}

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

.quantity-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.quantity-picker > div {
  display: grid;
  align-items: center;
  border: 1px solid var(--border);
  grid-template-columns: 38px 42px 38px;
}

.quantity-picker button,
.quantity-picker output {
  display: grid;
  height: 38px;
  place-items: center;
}

.quantity-picker button {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.quantity-picker button:hover {
  background: var(--green);
  color: var(--black);
}

.cart[hidden],
.checkout[hidden] {
  display: none;
}

.cart,
.checkout {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.cart__backdrop,
.checkout__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.cart__drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(520px, 100vw);
  height: 100%;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--black);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.42);
  animation: cart-in 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cart-in {
  from {
    transform: translateX(100%);
  }
}

.cart__header,
.checkout__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.cart__header h2,
.checkout__header h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.cart__header > button,
.checkout__header > button {
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart__items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 90px 1fr;
}

.cart-item__image {
  width: 90px;
  height: 118px;
  background: var(--soft-black);
  object-fit: cover;
}

.cart-item__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__top strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1;
}

.cart-item__top span,
.cart-item__meta {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart-item__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
}

.cart-item__quantity button,
.cart-item__quantity span,
.cart-item__remove {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
}

.cart-item__quantity button,
.cart-item__remove {
  cursor: pointer;
}

.cart-item__quantity button:hover,
.cart-item__remove:hover {
  background: var(--green);
  color: var(--black);
}

.cart-item__remove {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart__empty {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: start;
  padding: 24px;
}

.cart__empty p {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.cart__footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--soft-black);
}

.cart__total,
.checkout-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.cart__total span,
.checkout-summary__total span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart__total strong,
.checkout-summary__total strong {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.cart__footer > p,
.checkout-summary > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.cart__footer > p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart__footer .button {
  width: 100%;
}

.checkout {
  overflow-y: auto;
}

.checkout__panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 30px));
  min-height: calc(100svh - 30px);
  margin: 15px auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--black);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.checkout-form {
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  outline: 0;
  background: var(--soft-black);
  color: var(--white);
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--green);
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.is-hidden {
  display: none !important;
}

.checkout-summary {
  margin: 28px 0 20px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--soft-black);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 10px;
}

.checkout-summary__total {
  margin-top: 18px;
}

.form-error {
  min-height: 20px;
  margin: 0 0 10px;
  color: #ff8080;
  font-family: var(--mono);
  font-size: 10px;
}

.checkout-form > .button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  max-width: min(390px, calc(100vw - 36px));
  padding: 13px 16px;
  border: 1px solid var(--black);
  background: var(--green);
  color: var(--black);
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .header-actions {
    gap: 8px;
  }

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

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

  .modal__gallery {
    right: 10px;
    bottom: 10px;
  }

  .modal__gallery button {
    width: 46px;
    height: 46px;
  }

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

  .form-grid__wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .cart__header,
  .checkout__header,
  .checkout-form {
    padding: 18px;
  }

  .checkout__panel {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    border: 0;
  }

  .checkout__header h2 {
    font-size: 34px;
  }
}
