@font-face {
  font-family: "On Diatype Standard";
  src: url("./fonts/OnDiatypeStandard-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "On Diatype Standard";
  src: url("./fonts/OnDiatypeStandard-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "On Diatype Mono";
  src: url("./fonts/OnDiatypeMono-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0e0e0d;
  --image: #020202;
  --ink: #c2b6a6;
  --muted: #a69d90;
  --line: #c2b6a633;
  font-family: "On Diatype Standard", "Segoe UI", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  background: var(--page);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; }
main {
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 56px max(28px, env(safe-area-inset-right)) 32px max(28px, env(safe-area-inset-left));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}
.eyebrow, .subhead, .look-number, .fine-print, .collection-footer {
  font-family: "On Diatype Mono", "Courier New", monospace;
  font-weight: 400;
}
.eyebrow { margin: 0 0 22px; font-size: 12px; line-height: 1.25; text-transform: uppercase; }
h1 { margin: 0 0 22px; font-size: clamp(48px, 7vw, 80px); font-weight: 700; line-height: .96; letter-spacing: -.035em; }
.subhead { margin: 0; max-width: 460px; font-size: 13px; line-height: 1.4; text-transform: uppercase; }
.page-header { margin-bottom: 36px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--image); }
.image-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 36px 16px 16px; }
.image-wrap img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-wrap[data-load-state="loading"] img, .image-wrap[data-load-state="error"] img { opacity: 0; }
.image-feedback { position: absolute; inset: 36px 16px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; pointer-events: none; }
.image-status, .image-retry { font: 400 12px/1.4 "On Diatype Mono", "Courier New", monospace; color: var(--ink); text-align: center; }
.image-retry { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--page); cursor: pointer; pointer-events: auto; }
.image-status[hidden], .image-retry[hidden] { display: none; }
.look-number { position: absolute; top: 16px; left: 18px; color: var(--muted); font-size: 10px; line-height: 1; }
.card-footer { padding: 14px; }
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease;
}
.button svg { flex: 0 0 22px; }
.button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.button:active { background: #a69b8c; }
@media (hover: hover) { .button:hover { background: #d2c6b6; } }
.fine-print { margin: 24px 0 48px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.collection-footer { margin-top: auto; padding-top: 24px; font-size: 11px; line-height: 1.2; text-transform: uppercase; }
.state { max-width: 780px; padding: 32px 0 64px; }
.state h1 { margin-bottom: 28px; }
.state .subhead { max-width: 420px; }
.look-number { text-transform: uppercase; }
:lang(ja) .eyebrow, :lang(ja) .subhead, :lang(ja) .look-number,
:lang(ja) .fine-print, :lang(ja) .collection-footer {
  font-family: "On Diatype Standard", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}
:lang(ja) h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.25; letter-spacing: 0; }
@media (min-width: 561px) {
  main { padding: 56px 28px 32px; }
  .page-header { margin: 0 0 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
  .card { width: 100%; max-width: 360px; }
  .image-wrap {
    aspect-ratio: auto;
    height: 454px;
    padding: 36px 16px 16px;
    grid-template-rows: minmax(0, 1fr);
  }
  .image-feedback { inset: 36px 16px 16px; }
  .card-footer { margin: 0; padding: 14px; }
  .gallery ~ .collection-footer { margin-top: 0; padding-top: 24px; }
}
@media (min-width: 812px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  main { padding-top: 32px; padding-right: max(20px, env(safe-area-inset-right)); padding-left: max(20px, env(safe-area-inset-left)); }
  .eyebrow { margin-bottom: 24px; font-size: 11px; }
  h1 { font-size: clamp(42px, 12vw, 64px); }
  :lang(ja) h1 { font-size: clamp(30px, 9vw, 44px); }
  .page-header { margin-bottom: 28px; }
  .subhead { font-size: 12px; }
  .gallery { grid-template-columns: 1fr; gap: 24px; }
  .image-wrap { max-height: 62svh; }
  .fine-print { margin-bottom: 36px; }
  .state { padding-top: 24px; }
}

.brand-header { margin-bottom: 36px; }
.brand-logo { display: block; width: 38px; height: 70px; object-fit: contain; }
@media (max-width: 560px) {
  .brand-header { margin-bottom: 28px; }
  .brand-logo { width: 30px; height: 55px; }
}

.delivery-logo { margin-bottom: 36px; }
@media (max-width: 560px) {
  .delivery-logo { margin-bottom: 28px; }
}
@media (min-width: 812px) {
  .page-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
  .page-header .eyebrow { grid-column: 1 / -1; }
  .page-header h1 { grid-column: 1; grid-row: 2; }
  .delivery-logo {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: auto;
    height: calc(clamp(48px, 7vw, 80px) * 2);
    margin: -2px 0 0;
  }
  .page-header .subhead { grid-column: 1 / -1; }
}
