/* Editorial layout for the two product pages. Header and base typography live in print-base.css. */
.shop {
  --shop-ink: #191916;
  --shop-paper: #faf8f2;
  --shop-red: #e5462c;
  --shop-muted: #524d44;
  --gutter: clamp(20px, 5vw, 76px);
  background: var(--shop-paper);
  color: var(--shop-ink);
  margin: 0;
}
.shop * {
  box-sizing: border-box;
}
.shop img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shop figure,
.shop h1,
.shop h2,
.shop p {
  margin: 0;
}
.shop a {
  color: inherit;
  text-underline-offset: 0.22em;
}
.shop a:focus-visible {
  outline: 3px solid #1850a8;
  outline-offset: 4px;
}
.shop-main,
.shop-footer-inner {
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 3;
  padding: 10px 18px;
  background: white;
}
.skip-link:focus-visible {
  top: 6px;
}

.edition {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-areas: "pitch proof" "source proof";
  grid-template-rows: 1fr auto;
  gap: 28px clamp(32px, 6.6vw, 106px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 60px) clamp(38px, 5vw, 76px);
}
.pitch {
  grid-area: pitch;
  align-self: center;
}
.pitch h1,
.app-copy h2 {
  font-family: var(
    --display,
    "Arial Narrow",
    "Helvetica Neue",
    Arial,
    sans-serif
  );
  font-weight: 400;
  margin-left: -0.035em;
}
.pitch h1 {
  font-size: clamp(66px, 7.7vw, 114px);
  line-height: 0.87;
  letter-spacing: -0.02em;
  margin-bottom: clamp(18px, 2.2vw, 34px);
}
.pitch h1 span {
  display: block;
}
.shop:lang(ko) .pitch h1 {
  font-family: var(--sans, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif);
  font-size: clamp(72px, 7.6vw, 119px);
  font-weight: 800;
  word-break: keep-all;
  letter-spacing: -0.06em;
  line-height: 0.99;
}
.pitch .lede {
  max-width: 39ch;
  color: var(--shop-ink);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.46;
}
.shop:lang(ko) .lede,
.shop:lang(ko) .app-copy p {
  word-break: keep-all;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
}
.shop .maker-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 18px;
  background: var(--shop-red);
  color: #14120d;
  border: 2px solid var(--shop-ink);
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.shop .maker-link:hover {
  color: var(--shop-paper);
  background: var(--shop-ink);
}
.shop .store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
}
.shop .store-link:hover,
.shop-footer a:hover,
.poster-caption a:hover {
  text-decoration-thickness: 2px;
}
.source {
  grid-area: source;
  align-self: end;
  display: flex;
  align-items: end;
  gap: 14px;
}
.source img {
  width: clamp(86px, 8.2vw, 126px);
  border: 1px solid var(--shop-ink);
}
.source figcaption,
.poster-caption,
.app-gallery figcaption {
  font-size: 0.79rem;
  line-height: 1.4;
  font-weight: 600;
}
.source figcaption {
  padding-bottom: 2px;
  max-width: 18ch;
}
.proof {
  grid-area: proof;
  width: min(100%, 480px);
  margin-left: auto !important;
}
.proof > img {
  width: 100%;
  height: auto;
  border: 1px solid var(--shop-ink);
}
.poster-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--shop-muted);
}
.poster-caption a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
}
.app-edition {
  padding-block: clamp(36px, 5.5vw, 78px);
  border-top: 3px solid var(--shop-ink);
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 84px);
}
.app-copy h2 {
  font-size: clamp(42px, 4.3vw, 72px);
  line-height: 0.97;
  letter-spacing: -0.054em;
  text-wrap: balance;
}
.shop:lang(ko) .app-copy h2 {
  font-family: var(--sans);
  font-weight: 800;
  word-break: keep-all;
  line-height: 1.12;
}
.app-copy p {
  margin: 20px 0 9px;
  line-height: 1.55;
  max-width: 36ch;
  font-size: 1.05rem;
}
.app-copy .purchase-note {
  margin: 2px 0 0;
  color: var(--shop-muted);
  font-size: 0.8rem;
}
.app-gallery {
  display: grid;
  grid-template-columns: 1.26fr 0.89fr;
  gap: clamp(18px, 2.8vw, 40px);
  align-items: start;
}
.app-gallery a {
  display: block;
}
.app-gallery img {
  width: 100%;
  border: 1px solid var(--shop-ink);
}
.app-gallery figcaption {
  margin-top: 8px;
}
.shop-footer {
  border-top: 1px solid var(--shop-ink);
}
.shop-footer-inner {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.83rem;
  font-weight: 600;
}
.shop-footer nav {
  display: flex;
  gap: 22px;
}
.shop-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 850px) {
  .edition {
    column-gap: 28px;
  }
  .pitch h1 {
    font-size: clamp(62px, 9vw, 84px);
  }
  .shop:lang(ko) .pitch h1 {
    font-size: clamp(59px, 8.2vw, 78px);
  }
  .actions {
    gap: 6px 15px;
    margin-top: 16px;
  }
  .shop .maker-link {
    gap: 9px;
    font-size: 0.94rem;
  }
  .shop .store-link {
    font-size: 0.88rem;
  }
}
@media (max-width: 650px) {
  .edition {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "pitch" "proof" "source";
    grid-template-rows: auto;
    row-gap: 22px;
    padding-block: 26px 34px;
  }
  .pitch h1,
  .shop:lang(ko) .pitch h1 {
    font-size: clamp(58px, 12.4vw, 76px);
  }
  .pitch h1 {
    margin-bottom: 14px;
  }
  .pitch h1 span {
    display: inline;
  }
  .shop:lang(ko) .pitch h1 span {
    display: block;
  }
  .pitch .lede {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 43ch;
  }
  .shop .maker-link {
    min-height: 45px;
    padding: 10px 12px;
  }
  .proof {
    width: min(100%, 440px);
    margin-inline: auto !important;
  }
  .source {
    gap: 10px;
    align-items: center;
  }
  .source img {
    width: 64px;
  }
  .source figcaption {
    max-width: none;
    padding: 0;
  }
  .app-edition {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px;
  }
  .app-copy h2 {
    font-size: clamp(36px, 8.2vw, 48px);
    max-width: 16ch;
  }
  .app-copy p {
    font-size: 1rem;
    margin-block: 12px 3px;
  }
  .app-gallery {
    gap: 14px;
  }
  .shop-footer-inner {
    align-items: start;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 4px 18px;
  }
  .shop-footer nav {
    gap: 16px;
  }
}
@media (max-width: 370px) {
  .pitch h1 {
    font-size: 48px;
  }
  .actions {
    gap: 4px 12px;
  }
  .shop .maker-link,
  .shop .store-link {
    font-size: 0.82rem;
  }
}
