.pea-page {
  --paper: #071419;
  --ink: #fbf4e6;
  --muted: #bed0d2;
  --edge: #a4ded435;
  --accent: #91f6ed;
  --pea-pink: #ffade7;
  --pea-lilac: #c8b6ff;
  color-scheme: dark;
}
.pea-page main { max-width: none; }




.pea-page :is(a, button, summary):focus-visible { outline-color: var(--accent); }
.pea-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: max(650px, min(1020px, calc(100svh - 76px)));
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 55%, #153b41, #09191e 65%, #071419);
}
.pea-hero::before,
.pea-details::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background: url('/assets/plugins/peacomp-irezumi/waves-and-peony.webp') center / cover no-repeat;
}
.pea-hero::before {
  inset: auto auto -180px -65px;
  width: min(43vw, 590px);
  aspect-ratio: 359 / 403;
  opacity: .22;
  transform: scaleX(-1);
  mask-image: radial-gradient(ellipse at 50% 55%, black 22%, transparent 72%);
}
.pea-stage {
  position: absolute;
  z-index: -2;
  right: max(1vw, calc((100vw - 1660px) / 2));
  top: 50%;
  width: min(68vw, calc(100svh - 44px), 1120px);
  aspect-ratio: 1;
  transform: translateY(-48%);
  mask-image: linear-gradient(90deg, transparent 1%, black 6%, black 95%, transparent 99%),
    radial-gradient(ellipse 77% 73% at 53% 48%, black 55%, #000e 65%, transparent 100%);
  mask-composite: intersect;
}
.pea-stage > :is(picture, canvas), .pea-stage img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pea-stage canvas { visibility: hidden; }
.pea-stage:is([data-state='playing'], [data-state='open']) canvas { visibility: visible; }
.pea-stage:is([data-state='playing'], [data-state='open']) picture { visibility: hidden; }
.pea-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #061116e0 1%, #061116ba 27%, #06111619 51%, transparent 64%),
    linear-gradient(0deg, var(--paper), transparent 15%, transparent 91%, #07141940);
}
.pea-copy {
  width: min(42vw, 590px);
  margin-left: max(6vw, calc((100vw - 1510px) / 2));
  padding: 66px 0;
  position: relative;
}

.pea-page .pea-copy h1 {
  margin: 18px 0 10px;
  font: 400 clamp(70px, 8.4vw, 145px)/.98 'Source Serif 4',Georgia,serif;
  letter-spacing: -.075em;
  padding-bottom: .13em;
}
.pea-page .pea-copy h2,
.pea-page .pea-details h2 {
  font: 400 clamp(28px, 3.1vw, 49px)/1.13 'Source Serif 4',Georgia,serif;
  letter-spacing: -.035em;
}
.pea-page .pea-description {
  margin-top: 18px;
  max-width: 350px;
  color: var(--muted);
  font-size: 16px;
}
.pea-page .product-price { justify-content: start; margin: 23px 0; }
.pea-page .product-price strong { color: var(--pea-lilac); }
.pea-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pea-page .pea-cta, .pea-page .pea-replay {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pea-page .pea-cta {
  color: #09121c;
  background: var(--accent);
  border: 1px solid transparent;
  transition: background-color .2s;
}
.pea-page .pea-cta:hover { background: #fff; }
.pea-page .pea-replay {
  color: var(--pea-pink);
  background: #0a1520;
  border: 1px solid #dca5ed75;
}
.pea-page .pea-replay[aria-disabled='true'] { cursor: default; }
.pea-page .pea-replay[hidden] { display: none; }
.pea-page .pea-status { margin-top: 18px; font-size: 13px; color: var(--muted); }
.pea-details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--edge);
  padding: clamp(56px, 7vw, 112px) max(6vw, calc((100vw - 1330px) / 2));
  background: linear-gradient(130deg, #10272b, #08151f 55%, #071419);
}
.pea-details::before {
  z-index: -1;
  inset: auto -7vw -150px auto;
  width: min(65vw, 900px);
  aspect-ratio: 359 / 403;
  opacity: .36;
  mask-image: radial-gradient(ellipse, black 15%, transparent 70%);
}
.pea-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 370px);
  gap: clamp(32px, 8vw, 110px);
  align-items: center;
}
.pea-page .pea-details h2 { margin: 14px 0 24px; }
.pea-facts { list-style: none; padding: 0; margin: 0 0 24px; max-width: 540px; }
.pea-facts li { padding: 12px 0; border-top: 1px solid var(--edge); }
.pea-facts li::before { content: '◆'; color: var(--pea-lilac); margin-right: 10px; font-size: 9px; }
.pea-details .pea-note { color: var(--muted); margin-bottom: 20px; }
.pea-details .text-link { color: var(--accent); font-size: 15px; min-height: 44px; }
.pea-details .full-interface { border-radius: 20px; }
.pea-details .image-expand { opacity: 1; color: var(--accent); }
.pea-details .alternate-interface { max-width: 540px; margin-top: 30px; }
.pea-details .alternate-interface img { max-width: 290px; margin: auto; }
.pea-details .alternate-interface summary { color: var(--pea-pink); font-size: 14px; }
.pea-page .next-product { max-width: 1600px; margin: auto; }
.pea-page .next-product b { color: var(--pea-lilac); }



@media (max-width: 760px) {
  
  
  .pea-hero { display: block; min-height: auto; }
  .pea-stage {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 560px);
    margin: -10px auto 0;
    transform: none;
  }
  .pea-hero::before { display: none; }
  .pea-hero::after {
    background: linear-gradient(0deg, var(--paper), transparent 14%),
      linear-gradient(0deg, transparent 43%, #07141940 47%, transparent 63%);
  }
  .pea-copy {
    width: auto;
    margin: 4px auto 0;
    padding: 0 22px 42px;
    text-align: center;
  }
  .pea-page .pea-copy h1 { font-size: clamp(55px, 13vw, 85px); margin: 11px 0 4px; }
  .pea-page .pea-copy h2 { font-size: clamp(25px, 6vw, 36px); }
  .pea-page .pea-description { margin: 13px auto 0; }
  .pea-page .product-price, .pea-actions { justify-content: center; }
  .pea-page .product-price { margin: 18px 0; }
  .pea-detail-grid { grid-template-columns: 1fr; }
  .pea-detail-grid .product-art { width: min(290px, 100%); }
  .pea-details::before { width: 88vw; opacity: .28; }
}
