@charset "UTF-8";

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #171717;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  --muted: #727272;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; display: flex; flex-direction: column; }
body:has(.lightbox[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { padding: 0; color: inherit; font: inherit; background: transparent; border: 0; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 1px solid #171717; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { color: #fff; background: #171717; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px; background: #fff; font-size: 12px; }
.skip-link:focus { top: 12px; }

.site-header { padding: 42px 20px 0; display: flex; justify-content: center; }
.wordmark { display: block; font-family: 'Times New Roman', Times, serif; font-size: 45px; line-height: 1; font-weight: 700; letter-spacing: -2.8px; transform: scaleX(.8); transform-origin: center; }
.wordmark h1 { font: inherit; }
.catalog { width: 100%; max-width: 1072px; margin: 70px auto 0; padding: 0 16px 80px; flex: 1; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-link { display: block; text-align: center; }
.product-card-image { aspect-ratio: 1; overflow: hidden; }
.product-card-image img { height: 100%; object-fit: contain; }
.product-card h3 { margin-top: 20px; font-size: 10px; line-height: 1.6; font-weight: 400; text-transform: uppercase; letter-spacing: .035em; }
.product-status { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.site-footer { width: 100%; margin-top: auto; padding: 30px 20px max(24px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.site-footer span:first-child { white-space: nowrap; letter-spacing: .04em; }
.site-footer span:last-child { text-align: right; }

.product-page { width: 100%; max-width: 1184px; margin: 38px auto 70px; padding: 0 16px; flex: 1; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 10px; }
.product-layout { display: grid; min-width: 0; gap: 33px; margin-top: 12px; }
.gallery { min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { display: block; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
.gallery-slide:focus-visible { outline-offset: -5px; }
.gallery-slide img { aspect-ratio: 1; object-fit: contain; }
.gallery-navigation { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.gallery-arrow { width: 44px; height: 44px; font-size: 16px; }
.gallery-count { min-width: 38px; text-align: center; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.gallery-thumbnails { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gallery-thumbnail { width: 44px; height: 44px; padding: 2px; border: 1px solid transparent; }
.gallery-thumbnail[aria-pressed="true"] { border-color: #171717; }
.gallery-thumbnail img { height: 100%; object-fit: contain; }
.product-information { padding: 0 4px; }
.product-heading h1 { font-size: 13px; line-height: 1.7; letter-spacing: .055em; text-transform: uppercase; font-weight: 400; }
.product-color { margin-top: 8px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.release-status { margin-top: 33px; font-size: 12px; line-height: 1.6; }
.release-note { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.product-details { margin-top: 38px; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.product-details summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; cursor: pointer; list-style: none; }
.product-details summary::-webkit-details-marker { display: none; }
.details-mark { width: 10px; height: 10px; position: relative; }
.details-mark::before, .details-mark::after { content: ''; position: absolute; background: currentColor; }
.details-mark::before { width: 10px; height: 1px; top: 4px; left: 0; }
.details-mark::after { height: 10px; width: 1px; left: 4px; top: 0; }
.product-details[open] .details-mark::after { display: none; }
.product-details ul { list-style: none; margin: 0; padding: 0 0 21px; color: var(--muted); font-size: 11px; line-height: 2; }
.other-product { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 26px; color: var(--muted); font-size: 10px; }

.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; height: 100dvh; margin: 0; padding: 0; border: 0; background: #fff; color: #171717; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: #fff; }
.lightbox-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(12px, env(safe-area-inset-top)) 20px 4px; font-size: 10px; }
.lightbox-header > span { text-transform: uppercase; letter-spacing: .03em; }
.lightbox-close { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 10px; }
.lightbox-close span { font-size: 23px; font-weight: 300; }
.lightbox-stage { min-height: 0; flex: 1; display: flex; align-items: center; justify-content: center; overflow: auto; }
.lightbox-image { width: 100%; height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.lightbox-navigation { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; gap: 20px; padding: 8px 20px max(18px, env(safe-area-inset-bottom)); }
.lightbox-navigation button { width: 44px; height: 44px; font-size: 18px; }
.lightbox-count { min-width: 40px; text-align: center; font-size: 10px; font-variant-numeric: tabular-nums; color: var(--muted); }
.not-found { flex: 1; padding: 100px 24px; text-align: center; font-size: 12px; }
.not-found h1 { font-size: 14px; font-weight: 400; }
.not-found a { display: inline-block; margin-top: 24px; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 600px) {
  .site-header { padding-top: 52px; }
  .wordmark { font-size: 53px; letter-spacing: -3.3px; }
  .catalog { margin-top: 86px; padding: 0 38px 100px; }
  .catalog-grid { gap: 48px; }
  .product-card h3 { font-size: 11px; margin-top: 27px; letter-spacing: .055em; }
  .product-status { font-size: 10px; }
  .site-footer { padding: 32px 36px; font-size: 10px; }
  .product-page { padding: 0 32px; }
  .gallery-thumbnail { width: 52px; height: 52px; }
  .lightbox-header { padding: 20px 32px 4px; }
}

@media (min-width: 800px) {
  .product-page { margin-top: 44px; }
  .product-layout { grid-template-columns: minmax(0, 1.55fr) minmax(240px, 1fr); gap: clamp(48px, 7vw, 100px); margin-top: 16px; align-items: start; }
  .product-information { padding: 80px 0 0; }
  .product-heading h1 { font-size: 14px; }
  .product-details { margin-top: 48px; }
  .gallery-thumbnails { margin-top: 8px; }
}

@media (hover: hover) and (pointer: fine) {
  .product-link:hover h3, .back-link:hover, .other-product:hover { text-decoration: underline; text-underline-offset: 4px; }
  .gallery-arrow:hover, .lightbox-navigation button:hover, .lightbox-close:hover { color: var(--muted); }
}

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