:root {
  --paper: #fff;
  --ink: #000;
  --signal: #000;
  --acid: #fff;
  --buy: #22d45f;
  --line: 2px solid var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible + span {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: var(--line);
  font-size: 12px;
  font-weight: 800;
}

.landing-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: calc(100vh - 52px);
  height: calc(100svh - 52px);
  overflow: hidden;
}

.landing-page .product,
.landing-page .gallery-shell {
  min-height: 0;
}

.landing-page .product {
  height: 100%;
}

.landing-page .product-panel {
  overflow-y: auto;
  scrollbar-width: none;
}

.landing-page .product-panel::-webkit-scrollbar {
  display: none;
}

.brand-mark {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--signal);
  border-radius: 50%;
}

.edition {
  margin: 0;
}

.headline {
  position: relative;
  overflow: hidden;
  height: clamp(170px, 25vh, 280px);
  border-bottom: var(--line);
}

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

.product {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
  min-height: 720px;
  border-bottom: var(--line);
}

.gallery-shell {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-right: var(--line);
  background: var(--paper);
}

.gallery-meta {
  position: absolute;
  z-index: 10;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}

.gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, .72fr);
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.gallery-card {
  --state-scrim-opacity: 0;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: var(--line);
  border-radius: 0;
  background: var(--paper);
  cursor: pointer;
  transition: filter 260ms ease, transform 320ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease;
}

.gallery-card::before,
.gallery-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.gallery-card::before {
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / .08) 0%,
    transparent 30%,
    transparent 58%,
    rgb(0 0 0 / .58) 100%
  );
}

.gallery-card::after {
  z-index: 2;
  background: rgb(8 8 8 / .72);
  opacity: var(--state-scrim-opacity);
  transition: opacity 260ms ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.gallery-card--one {
  grid-row: 1 / 3;
  grid-column: 1;
}

.gallery-card--one img {
  object-position: center;
}

.gallery-card--two {
  grid-row: 1 / 3;
  grid-column: 2;
}

.gallery-card--two img {
  object-position: center;
}

.gallery-card--three {
  grid-row: 1;
  grid-column: 3;
}

.gallery-card--three img {
  object-position: center;
}

.gallery-card--four {
  grid-row: 2;
  grid-column: 3;
}

.gallery-card--four img {
  object-position: 54% center;
}

@media (hover: hover) {
  .gallery:hover .gallery-card:not(:hover) {
    --state-scrim-opacity: .38;
  }
}

.gallery-card:hover,
.gallery-card.is-active {
  --state-scrim-opacity: 0;
  z-index: 7;
}

.gallery-card:hover img,
.gallery-card.is-active img {
  transform: scale(1.04);
}

.frame-number {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 7px;
  padding: 4px 6px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-size: 10px;
  font-weight: 900;
}

.frame-caption {
  position: absolute;
  z-index: 4;
  left: 10px;
  bottom: 10px;
  color: white;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-panel {
  display: flex;
  flex-direction: column;
  padding: 30px 24px 20px;
  background: var(--paper);
}

.eyebrow,
.control-label {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: var(--line);
}

.product-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.product-heading h2 {
  margin: 0;
  max-width: 8ch;
  font-size: 34px;
  line-height: .9;
  letter-spacing: 0;
}

.price {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.product-copy {
  margin: 22px 0;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.45;
}

.spec-list {
  margin: 0 0 22px;
  border-top: 1px solid var(--ink);
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.spec-list dd,
.spec-list dt {
  margin: 0;
}

.spec-list dd {
  font-weight: 800;
}

.purchase-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.purchase-form legend {
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.size-options label {
  position: relative;
}

.size-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-options span {
  display: grid;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-right: 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.size-options .is-sold-out span {
  position: relative;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1px;
  color: var(--ink);
  background:
    linear-gradient(to bottom right, transparent calc(50% - .5px), var(--ink) 50%, transparent calc(50% + .5px));
  cursor: not-allowed;
}

.size-options .is-sold-out b {
  font-size: 11px;
}

.size-options .is-sold-out small {
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.size-options label:last-child span {
  border-right: 1px solid var(--ink);
}

.size-options input:checked + span {
  color: white;
  background: var(--ink);
}

.purchase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}

.quantity-control,
.color-control {
  display: flex;
  min-width: 0;
  gap: 8px;
  flex-direction: column;
}

.stepper {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  height: 38px;
  border: 1px solid var(--ink);
}

.stepper button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.stepper output {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.color-value {
  display: flex;
  align-items: center;
  height: 38px;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

.color-value i {
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  background: white;
  border-radius: 50%;
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--buy);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.buy-button:hover {
  color: white;
  background: var(--ink);
}

.buy-button:disabled {
  cursor: wait;
  opacity: .6;
}

.buy-arrow {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.buy-arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.form-status {
  min-height: 16px;
  margin: 8px 0 0;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
}

details {
  border-top: 1px solid var(--ink);
}

details:last-child {
  border-bottom: 1px solid var(--ink);
}

details summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

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

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  margin: 0;
  padding: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
}

.editorial-page {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--paper);
}

.editorial-topline {
  position: absolute;
  z-index: 3;
  top: 2.6%;
  left: 20.18%;
  right: 27.6%;
  display: flex;
  justify-content: space-between;
  font-size: clamp(9px, .82vw, 14px);
  line-height: 1;
}

.editorial-photo {
  position: absolute;
  z-index: 1;
  top: 27.53%;
  bottom: 0;
  left: 20.18%;
  width: 42%;
  margin: 0;
  overflow: hidden;
}

.editorial-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-title {
  position: absolute;
  z-index: 3;
  top: 27.15%;
  left: 64.14%;
  width: 31.86%;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(19px, 1.7vw, 31px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}

.editorial-details {
  position: absolute;
  z-index: 3;
  top: 51.9%;
  left: 64.14%;
  width: 31.86%;
  font-size: clamp(9px, .76vw, 13px);
  line-height: 1.25;
}

.editorial-detail-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  margin-bottom: clamp(18px, 3.1vh, 40px);
}

.editorial-detail-group h3,
.editorial-detail-group p {
  margin: 0;
  font: inherit;
}

.editorial-detail-group h3 {
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-detail-group a {
  color: inherit;
  text-decoration: none;
}

.editorial-detail-group a:hover {
  text-decoration: underline;
}

.editorial-letter {
  position: absolute;
  z-index: 2;
  bottom: -.095em;
  color: #000;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 24vw;
  font-weight: 900;
  line-height: .75;
  white-space: nowrap;
  pointer-events: none;
}

.editorial-letter--n {
  left: 0;
  width: auto;
  padding: 0;
  letter-spacing: 0;
  text-align: left;
}

.editorial-letter--rp {
  right: 0;
  left: 62.18%;
  padding-left: .13%;
  letter-spacing: -.08em;
}

.editorial-mobile-wordmark {
  display: none;
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  font-size: 10px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 900px) {
  .landing-page {
    display: block;
    height: auto;
    min-height: calc(100vh - 52px);
    min-height: calc(100svh - 52px);
    overflow: visible;
  }

  .landing-page .product {
    height: auto;
  }

  .landing-page .product-panel {
    overflow: visible;
  }

  .headline {
    height: clamp(140px, 22vh, 210px);
  }

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

  .landing-page .gallery-shell {
    min-height: min(90vw, 700px);
    border-right: 0;
    border-bottom: var(--line);
  }

  .product-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .product-heading,
  .product-copy,
  .spec-list {
    grid-column: 1;
  }

  .purchase-form,
  .product-panel details {
    grid-column: 2;
  }

  .purchase-form {
    grid-row: 1 / span 3;
  }

  .editorial-title {
    font-size: clamp(18px, 2.7vw, 26px);
  }

  .editorial-detail-group {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .editorial-detail-group > div:nth-child(2) {
    display: none;
  }

}

@media (max-width: 620px) {
  .site-header {
    padding: 0 12px;
  }

  .edition {
    display: none;
  }

  .headline {
    display: none;
  }

  .landing-page .gallery-shell {
    min-height: 132vw;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr .85fr;
    gap: 5px;
    padding: 5px;
  }

  .gallery-card--one {
    grid-row: 1;
    grid-column: 1;
  }

  .gallery-card--two {
    grid-row: 1;
    grid-column: 2;
  }

  .gallery-card--three {
    grid-row: 2;
    grid-column: 1;
  }

  .gallery-card--four {
    grid-row: 2;
    grid-column: 2;
  }

  .product-panel {
    display: flex;
    padding: 24px 16px 18px;
  }

  .product-heading h2 {
    font-size: 30px;
  }

  .site-footer {
    gap: 15px;
    flex-direction: column;
  }

  .editorial-topline {
    top: 20px;
    left: 16px;
    right: 16px;
    font-size: 10px;
  }

  .editorial-title {
    top: 9%;
    left: 16px;
    width: calc(100% - 32px);
    max-width: 28ch;
    font-size: clamp(22px, 6.3vw, 30px);
  }

  .editorial-photo {
    top: 25%;
    bottom: 14%;
    left: 16px;
    width: calc(100% - 32px);
  }

  .editorial-details {
    display: none;
  }

  .editorial-letter {
    display: none;
  }

  .editorial-mobile-wordmark {
    position: absolute;
    z-index: 4;
    top: 86%;
    right: 16px;
    left: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: auto;
    padding: 0;
    border: 0;
    color: var(--ink);
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 18.5vw;
    font-weight: 900;
    line-height: .78;
    letter-spacing: -.06em;
    white-space: nowrap;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .editorial-mobile-wordmark span:first-child {
    margin-left: -.075em;
  }

  .editorial-mobile-wordmark span:last-child {
    margin-right: -.043em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}
