﻿@font-face {
  font-family: "Pitch";
  src: url("./Pitch-Regular.ttf") format("truetype"),
    url("./Pitch-Regular.tff") format("truetype"),
    url("../Pitch-Regular.ttf") format("truetype"),
    url("../Pitch-Regular.tff") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --acid: #fff000;
  --ink: #050505;
  --soft-ink: rgba(5, 5, 5, 0.64);
  --paper: #ffffff;
  --gutter: clamp(1rem, 2.4vw, 2.8rem);
  --font: "Pitch", "Courier New", monospace;
  --text-size: clamp(0.78rem, 1vw, 1.08rem);
  --caption-size: clamp(0.663rem, 0.85vw, 0.918rem);
  --media-frame: 65vw;
  --media-gap: clamp(1rem, 1.8vw, 1.8rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.popup-open {
  overflow: hidden;
}

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

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.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;
}

.site-header {
  --header-pad: clamp(1rem, 2vw, 2.2rem);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  padding: var(--header-pad);
  color: #303030;
  pointer-events: none;
}

.brand-mark,
.menu-toggle {
  pointer-events: auto;
}

.brand-mark {
  position: fixed;
  top: var(--header-pad);
  left: var(--header-pad);
  z-index: 31;
  width: clamp(3.3rem, 7.2vw, 6.6rem);
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  position: fixed;
  top: var(--header-pad);
  right: var(--header-pad);
  z-index: 31;
  display: grid;
  gap: 0.32rem;
  width: clamp(2.2rem, 3vw, 3.2rem);
  padding-top: 0.15rem;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: currentColor;
}

.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(34rem, 100vw);
  padding: clamp(1.2rem, 2.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.8rem);
  background: var(--ink);
  color: var(--acid);
  text-transform: uppercase;
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.77, 0, 0.18, 1);
}

body.menu-open .site-menu {
  transform: translateX(0);
}

.site-menu a {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.site-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.invitation-image video {
  display: block;
  width: 100%;
  height: auto;
}

.menu-close {
  align-self: flex-end;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.page {
  position: relative;
  min-height: 100svh;
  padding: var(--gutter);
}

.hero {
  display: grid;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-note {
  width: 100%;
  margin: 20px 0 clamp(0.8rem, 1.4vw, 1.4rem);
  background: var(--paper);
}

.hero-caption {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: var(--caption-size);
  line-height: 1;
  letter-spacing: 0.015em;
}

.hero-visit {
  width: 50vw;
  margin: 2em 0 0;
  margin-left: var(--gutter);
  text-align: left;
  font-size: var(--text-size);
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.launch-section {
  padding: 0 var(--gutter) clamp(5rem, 8vw, 8rem);
  background: var(--paper);
  text-align: center;
}

.invitation-image {
  width: min(72vw, 34rem);
  margin: 0 auto clamp(2.4rem, 5vw, 5.5rem);
}

.invitation-image img {
  width: 100%;
  height: auto;
}

.launch-info {
  width: 50vw;
  margin: 0 var(--gutter) clamp(3.5rem, 6vw, 6rem);
  text-align: left;
  text-transform: uppercase;
  font-size: var(--text-size);
  line-height: 1.22;
  letter-spacing: 0.02em;
}

.launch-info p,
.artist-text,
.collection-text p {
  margin: 0;
}

.artist-text,
.collection-text {
  width: 50vw;
  margin-left: var(--gutter);
  margin-right: auto;
  font-size: var(--text-size);
  line-height: 1.23;
  letter-spacing: -0.015em;
  text-align: left;
}

.artist-text {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.image-pair {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--media-gap);
  width: var(--media-frame);
  padding: 0;
  margin: 0 auto;
}

.image-pair img {
  flex: 0 0 calc((100% - var(--media-gap)) / 2);
  width: calc((100% - var(--media-gap)) / 2);
  height: 100%;
  min-height: clamp(22rem, 38vw, 42rem);
  object-fit: cover;
  max-width: none;
}

.feature-image {
  position: relative;
  width: var(--media-frame);
  margin: clamp(2.4rem, 4vw, 4rem) auto clamp(3rem, 6vw, 6rem);
  padding: 0;
}

.feature-image img {
  width: 100%;
  min-height: clamp(20rem, 36vw, 42rem);
  object-fit: cover;
}

.feature-image figcaption {
  position: absolute;
  inset: auto var(--gutter) var(--gutter) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #000000;
  text-transform: uppercase;
  font-size: var(--text-size);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: left;
}

.feature-image figcaption span:nth-child(2) {
  margin-top: 0.25em;
  font-size: var(--text-size);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.collection-name {
  text-transform: uppercase;
  margin-bottom: 1.3rem !important;
}

.subpage-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 12vw, 12rem) var(--gutter);
  text-align: center;
}

.subpage-shell h1 {
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 400;
}

.info-page {
  place-items: start;
  align-content: start;
  text-align: left;
}

.info-page h1 {
  font-size: calc(var(--text-size) + 7px);
  letter-spacing: 0;
  line-height: 1.1;
}

.info-page p {
  width: 50vw;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  font-size: var(--text-size);
  line-height: 1.23;
  letter-spacing: -0.015em;
}

.info-image {
  width: min(55vw, 38vh);
  margin: clamp(2rem, 4vw, 4rem) auto 0;
}

.info-image img {
  width: 100%;
  height: auto;
}

.info-founder {
  margin-top: 1rem !important;
}

.contact-page {
  place-items: start;
  align-content: start;
  text-align: left;
}

.contact-page p {
  width: 50vw;
  margin: 0;
  font-size: var(--text-size);
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.shop-page {
  width: 100%;
  padding: clamp(4.8rem, 7vw, 7rem) 0 0;
  background: #000000;
}

.shop-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.6rem);
  padding: clamp(1rem, 1.5vw, 1.6rem);
}

.shop-body {
  background: #000000;
}

.shop-body .site-header {
  color: #ffffff;
}

.shop-body .site-footer {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.65);
}

.shop-body .ticker {
  background: #000000;
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.65);
}

.product-card {
  min-width: 0;
  padding: clamp(0.45rem, 0.75vw, 0.8rem);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(0.35rem, 0.55vw, 0.6rem);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(0.48rem, 0.7vw, 0.78rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.product-card:hover .product-media img {
  transform: scale(1.015);
}

.product-card-header,
.product-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.product-card-header {
  align-items: start;
}

.product-card-footer {
  align-items: end;
}

.product-card-header img {
  width: clamp(1.35rem, 2.2vw, 2.6rem);
  height: auto;
}

.product-card-header span {
  text-align: right;
}

.product-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #efefef;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card h2 {
  margin: 0;
  text-align: center;
  font: inherit;
}

.product-card-footer span:first-child {
  text-align: left;
}

.product-card-footer span:last-child {
  text-align: right;
  white-space: pre-line;
}

.product-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(0, 0, 0, 0.72);
}

.product-popup.is-open {
  display: flex;
}

.product-popup-panel {
  position: relative;
  width: min(92vw, 92rem);
  height: min(86vh, 54rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  color: var(--ink);
}

.product-popup-close {
  position: absolute;
  top: clamp(0.9rem, 1.5vw, 1.4rem);
  right: clamp(0.9rem, 1.5vw, 1.4rem);
  z-index: 3;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.product-popup-gallery {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f1f1f1;
}

.product-popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-prev,
.product-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1;
}

.product-gallery-prev {
  left: 0.75rem;
}

.product-gallery-next {
  right: 0.75rem;
}

.product-popup-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 1.8rem);
  padding: clamp(2.4rem, 5vw, 5.5rem);
  text-align: left;
  font-size: var(--text-size);
  line-height: 1.25;
}

.product-popup-copy h2,
.product-popup-copy p {
  margin: 0;
}

.product-popup-copy h2 {
  font: inherit;
}

.product-popup-description,
.product-popup-specs {
  white-space: pre-line;
}

.product-popup-price {
  text-transform: uppercase;
}

.product-popup-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: clamp(0.5rem, 1vw, 1rem);
}

.product-popup-actions a {
  display: inline-block;
  min-width: 6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid currentColor;
  text-align: center;
  text-transform: uppercase;
}

.ticker {
  position: relative;
  z-index: 40;
  overflow: hidden;
  padding: 0.38rem 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(5, 5, 5, 0.24);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: var(--text-size);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: ticker 24s linear infinite;
}

.ticker span {
  display: inline-block;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  width: 50vw;
  margin: 0 var(--gutter);
  padding: clamp(1.25rem, 2.4vw, 2.8rem) 0;
  border-top: 1px solid rgba(5, 5, 5, 0.24);
  font-size: var(--text-size);
  line-height: 1.22;
}

.site-footer a {
  text-decoration: none;
}

.site-footer-right {
  text-align: left;
}

.site-footer-right p {
  margin: 0 0 0.35rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (min-width: 861px) {
  .brand-mark {
    width: clamp(4.95rem, 10.8vw, 9.9rem);
  }

  .site-menu {
    width: calc(100vw / 6);
    background: var(--paper);
    color: var(--ink);
  }

  .site-menu a {
    font-size: clamp(0.66rem, 1.5vw, 1.5rem);
    letter-spacing: -0.02em;
  }

  .site-menu a:hover {
    color: inherit;
  }

  .feature-image figcaption,
  .feature-image figcaption span:nth-child(2) {
    font-size: calc(var(--text-size) * 1.5);
  }
}

@media (max-width: 860px) {
  .site-header {
    --header-pad: 1rem;
    padding: var(--header-pad);
  }

  .page {
    min-height: 92svh;
    padding: 1rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    left: 0;
    right: auto;
    width: 100vw;
  }

  .hero-media img {
    object-fit: cover;
    object-position: 0% 50%;
  }

  .launch-section {
    padding: 0 1rem 5rem;
  }

  .hero-note {
    width: 100%;
    margin-inline: 0;
  }

  .hero-visit {
    width: calc(100% - 2rem);
    margin-left: 1rem;
  }

  .launch-info {
    width: 100%;
    margin-inline: 0;
  }

  .invitation-image {
    width: min(100%, 28rem);
  }

  .artist-text,
  .collection-text {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: var(--text-size);
    line-height: 1.22;
  }

  .image-pair {
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    padding: 0;
  }

  .image-pair img {
    flex-basis: calc((100% - var(--media-gap)) / 2);
    width: calc((100% - var(--media-gap)) / 2);
    min-height: 58vw;
  }

  .feature-image {
    width: calc(100% + 2rem);
    margin: clamp(2rem, 7vw, 3rem) -1rem clamp(3rem, 6vw, 6rem);
    padding: 0;
  }

  .feature-image img {
    min-height: 66vw;
  }

  .feature-image figcaption {
    inset: auto 1rem 1rem;
    font-size: var(--text-size);
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 2rem);
    margin-inline: 1rem;
  }

  .site-footer-right {
    text-align: left;
  }

  .info-page p {
    width: 100%;
  }

  .info-image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .contact-page p {
    width: 100%;
  }

}

@media (max-width: 640px) {
  .shop-page {
    padding-top: clamp(4.5rem, 16vw, 6rem);
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.7rem, 3vw, 1rem);
    padding: clamp(0.7rem, 3vw, 1rem);
  }

  .product-card {
    padding: clamp(0.45rem, 2.2vw, 0.8rem);
    font-size: clamp(0.43rem, 2.05vw, 0.72rem);
  }

  .product-card-header img {
    width: clamp(1.15rem, 6vw, 2rem);
  }

  .product-popup {
    padding: 0.75rem;
  }

  .product-popup-panel {
    width: calc(100vw - 1.5rem);
    height: calc(100vh - 1.5rem);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    overflow: auto;
  }

  .product-popup-gallery {
    min-height: 55vh;
  }

  .product-popup-copy {
    padding: 1.25rem;
  }

  .product-popup-actions {
    width: 100%;
    flex-direction: column;
  }
}

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