/* ProcessOn-faithful vertical layouts — psychedelic Byrd palette — images NEVER cropped */
.po-page {
  --ink: #140f1a;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255,45,149,.12), transparent 40%),
    radial-gradient(ellipse at 90% 20%, rgba(123,44,255,.12), transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(255,230,0,.1), transparent 40%),
    #f6f0e4;
  color: var(--ink);
}
.po-page img { object-fit: contain !important; background: #111; }
.po-intro {
  max-width: 920px; margin: 0 auto; padding: 1.5rem 1rem 1rem;
}
.po-intro h1 {
  margin: 0 0 .4rem; font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: linear-gradient(90deg, #ff2d95, #7b2cff, #00e5ff, #ffe600);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.po-intro p { margin: 0; color: #444; max-width: 62ch; font-family: Arial, Helvetica, sans-serif; font-size: .95rem; }

/* ===== Chevron: event IS the chevron, tightly woven ===== */
.po-chevron {
  max-width: 560px; margin: 0 auto; padding: .5rem 1rem 3rem;
  display: flex; flex-direction: column; gap: 0;
}
.po-chev-event {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 92px 1fr; gap: .65rem; align-items: center;
  text-decoration: none; color: #fff;
  min-height: 88px; margin: -10px 0 0;
  padding: .55rem 2.2rem .55rem .7rem;
  background: linear-gradient(135deg, var(--po-c, #ff2d95), color-mix(in srgb, var(--po-c,#ff2d95) 55%, #140f1a));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 10px 50%);
  box-shadow: 0 6px 0 rgba(20,15,26,.35);
  transition: transform .15s ease, z-index 0s;
}
.po-chev-event:first-child { margin-top: 0; }
.po-chev-event:nth-child(even) {
  clip-path: polygon(28px 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 28px 100%, 0 50%);
  padding: .55rem .7rem .55rem 2.2rem;
  margin-left: 8%;
}
.po-chev-event:nth-child(odd) { margin-right: 8%; }
.po-chev-event:hover { transform: translateY(-2px) scale(1.015); z-index: 3; }
.po-chev-event img {
  width: 92px; height: 92px; background: #fff; border: 2px solid #fff;
}
.po-chev-event .yr {
  font-family: Arial, sans-serif; font-size: 12px; font-weight: 900;
  letter-spacing: .08em; text-shadow: 0 1px 2px #000;
}
.po-chev-event h3 {
  margin: .15rem 0 0; font-family: Georgia, serif; font-size: 1rem; line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.po-chev-event .ch {
  display: block; margin-top: .2rem; font-family: Arial, sans-serif; font-size: .75rem;
  opacity: .9;
}

/* ===== Beautify (improved) ===== */
.po-beauty { max-width: 1120px; margin: 0 auto; padding: 1.75rem 1rem 3.5rem; position: relative; }
.po-beauty::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px;
  background: linear-gradient(180deg, #ff2d95, #7b2cff, #00e5ff, #ffe600, #ff6b00, #39ff14);
  border-radius: 4px;
}
.po-beauty::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 0; margin-left: -10px;
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-top: 16px solid #39ff14;
}
.po-beauty-node {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  margin: 0 0 1.5rem; align-items: center;
  min-height: 180px;
}
.po-beauty-dot {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--po-c, #ff2d95);
  border: 3px solid #140f1a;
  box-shadow: 0 0 0 3px var(--po-c, #ff2d95);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  color: #fffef8;
  text-align: center;
  pointer-events: none;
}
.po-beauty-node:nth-child(odd) .po-beauty-card { grid-column: 1; }
.po-beauty-node:nth-child(even) .po-beauty-card { grid-column: 2; }
.po-beauty-card {
  text-decoration: none; color: inherit;
  display: grid; grid-template-columns: 168px 1fr; gap: .9rem; align-items: center;
  border: 3px solid var(--po-c, #ff2d95); background: #fffef8; padding: .85rem;
  box-shadow: 7px 7px 0 var(--po-c, #ff2d95);
}
.po-beauty-card img {
  width: 168px; height: 210px;
  object-fit: contain; background: #111;
  border: 2px solid #140f1a; display: block;
}
.po-beauty-card .yr { display: none; } /* year only in spine circle */
.po-beauty-card h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.12;
}
.po-beauty-card .sum {
  margin: .45rem 0 0;
  font-size: .95rem; line-height: 1.4;
  color: #555; font-family: Arial, sans-serif;
}
.po-beauty-card .click-note {
  margin: .55rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--po-c, #ff2d95);
}
.life-artworks-cta { margin-top: 1.1rem; }
.life-artworks-cta .button { display: inline-block; }
.life-artworks-footer {
  border-top: 3px solid var(--ink, #160c08);
  margin: 0 auto 2.5rem;
  padding-top: 1.75rem;
}
.life-artworks-footer h2 {
  margin: 0 0 .4rem;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}
.art-research-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 62ch;
  font-family: Arial, Helvetica, sans-serif;
}
.art-research-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(20, 15, 26, .15);
}
.art-research-list a { color: inherit; text-decoration: none; }
.art-research-list a:hover { color: #ff2d95; }
.art-research-list span { color: #666; white-space: nowrap; }

/* ===== Brush road — color shifts as it descends ===== */
.po-road {
  position: relative; max-width: 760px; margin: 0 auto; padding: 1rem 1rem 3rem;
}
.po-road-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.po-road-stops {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2.4rem; padding: 1.5rem 0;
}
.po-road-stop { display: flex; width: 100%; }
.po-road-stop:nth-child(odd) { justify-content: flex-end; padding-right: 6%; }
.po-road-stop:nth-child(even) { justify-content: flex-start; padding-left: 6%; }
.po-sign {
  display: grid; grid-template-columns: 78px 1fr; gap: .55rem; align-items: center;
  text-decoration: none; color: #fff; min-width: min(340px, 88vw);
  background: linear-gradient(120deg, var(--po-c,#ff2d95), color-mix(in srgb, var(--po-c,#ff2d95) 40%, #7b2cff));
  padding: .55rem .95rem .55rem .6rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  box-shadow: 5px 5px 0 rgba(20,15,26,.28);
  border: 2px solid #140f1a;
  font-family: Arial, sans-serif;
}
.po-road-stop:nth-child(even) .po-sign {
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  padding-left: .95rem;
}
.po-sign img { width: 78px; height: 78px; background: #fff; border: 2px solid #140f1a; }
.po-sign .yr { font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.po-sign h3 { margin: .1rem 0 0; font-size: .98rem; font-weight: 700; line-height: 1.15; color: #fff; }

/* ===== Hex zig-zag — event lives IN the hex, pieces touch ===== */
.po-hex {
  max-width: 720px; margin: 0 auto; padding: 1rem 1rem 3rem;
  display: flex; flex-direction: column; align-items: center;
}
.po-hex-piece {
  width: min(340px, 92vw); min-height: 168px; margin: -28px 0 0;
  position: relative; z-index: 1;
  text-decoration: none; color: #fff;
  background: linear-gradient(160deg, var(--po-c,#ff2d95), color-mix(in srgb, var(--po-c,#ff2d95) 45%, #140f1a));
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  display: grid; grid-template-columns: 86px 1fr; gap: .45rem; align-items: center;
  padding: 1.6rem 2.4rem;
  filter: drop-shadow(0 8px 0 rgba(20,15,26,.22));
  transition: transform .15s ease, z-index 0s;
}
.po-hex-piece:first-child { margin-top: 0; }
.po-hex-piece:nth-child(odd) { transform: translateX(-18%); }
.po-hex-piece:nth-child(even) { transform: translateX(18%); }
.po-hex-piece:hover { z-index: 4; transform: translateX(0) scale(1.03); }
.po-hex-piece img { width: 86px; height: 86px; background: #fff; border: 2px solid #fff; }
.po-hex-piece .yr {
  font-family: Arial, sans-serif; font-size: 13px; font-weight: 900; letter-spacing: .06em;
}
.po-hex-piece h3 {
  margin: .15rem 0 0; font-family: Georgia, serif; font-size: .95rem; line-height: 1.15;
  text-shadow: 0 1px 2px #000;
}

/* ===== Timeline Color — psychedelic bubbles ===== */
.po-bubbles { max-width: 680px; margin: 0 auto; padding: 1.5rem 1rem 3rem; position: relative; }
.po-bubbles::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 0;
  border-left: 3px dotted #7b2cff; margin-left: -1px;
}
.po-bubble {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin: 0 0 1.4rem; align-items: center;
}
.po-bubble-dot {
  position: absolute; left: 50%; top: 50%; width: var(--sz, 84px); height: var(--sz, 84px);
  margin: calc(var(--sz, 84px) / -2) 0 0 calc(var(--sz, 84px) / -2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff8, transparent 40%),
    conic-gradient(from 20deg, var(--po-c,#ff2d95), #ffe600, #00e5ff, #7b2cff, var(--po-c,#ff2d95));
  border: 4px solid #140f1a;
  display: grid; place-items: center; color: #140f1a;
  font-family: Arial, sans-serif; font-weight: 900; font-size: 12px;
  z-index: 2; text-decoration: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--po-c,#ff2d95) 50%, transparent), 0 8px 18px rgba(0,0,0,.18);
}
.po-bubble:nth-child(odd) .po-bubble-card { grid-column: 2; }
.po-bubble:nth-child(even) .po-bubble-card { grid-column: 1; }
.po-bubble-card {
  text-decoration: none; color: inherit; background: #fffef8;
  border: 3px solid var(--po-c,#ff2d95); padding: .55rem;
  box-shadow: 5px 5px 0 #140f1a;
}
.po-bubble-card img { width: 100%; max-height: 130px; display: block; margin-bottom: .35rem; }
.po-bubble-card strong { font-family: Georgia, serif; font-size: .95rem; display: block; }

/* ===== Ribbon / rings / arch / pencil (psychedelic accents) ===== */
.po-ribbon { max-width: 800px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.po-ribbon-path {
  position: relative;
  border-left: 12px solid transparent;
  border-image: repeating-linear-gradient(180deg, #ff2d95 0 6px, #7b2cff 6px 12px, #00e5ff 12px 18px, #ffe600 18px 24px) 1;
  margin-left: 40%; padding: 0 0 0 2rem;
}
.po-flag { position: relative; margin: 0 0 1.6rem; max-width: 340px; }
.po-flag:nth-child(even) { margin-left: -55%; }
.po-flag a {
  text-decoration: none; color: inherit; background: #fffef8; border: 3px solid var(--po-c,#ff2d95);
  padding: .55rem; display: block; box-shadow: 5px 5px 0 #140f1a;
}
.po-flag a img { width: 100%; max-height: 140px; display: block; margin-bottom: .4rem; }
.po-flag .pole { position: absolute; left: -1.6rem; top: 0; width: 3px; height: 100%; background: #140f1a; }
.po-flag .pole::before {
  content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 14px;
  background: var(--po-c, #ff2d95); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.po-flag .yr { font-family: Arial, sans-serif; font-weight: 900; color: var(--po-c,#ff2d95); }
.po-flag h3 { margin: .15rem 0; font-family: Georgia, serif; font-size: 1rem; }

.po-rings { max-width: 900px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.po-ring-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin: 0 0 2.2rem; position: relative;
}
.po-ring-row:nth-child(even) { direction: rtl; }
.po-ring-row:nth-child(even) > * { direction: ltr; }
.po-ring-row::after { content: "⤵"; position: absolute; right: .5rem; bottom: -1.5rem; font-size: 1.5rem; color: #7b2cff; }
.po-ring-row:nth-child(even)::after { right: auto; left: .5rem; }
.po-ring-row:last-child::after { display: none; }
.po-ring { text-decoration: none; color: inherit; text-align: center; }
.po-ring .halo {
  width: 78px; height: 78px; margin: 0 auto .4rem; border-radius: 50%; background: #111;
  box-shadow: 0 0 0 7px var(--po-c, #ff2d95), 0 0 0 10px #140f1a;
  display: grid; place-items: center; overflow: hidden;
}
.po-ring .halo img { width: 100%; height: 100%; }
.po-ring .yr { font-family: Arial, sans-serif; font-weight: 900; font-size: 13px; color: var(--po-c,#ff2d95); }
.po-ring .box {
  margin-top: .4rem; min-height: 52px; border: 2px solid var(--po-c,#ff2d95); border-radius: 10px;
  padding: .4rem; font-family: Arial, sans-serif; font-size: .8rem; background: #fffef8; color: #333;
}

.po-arch { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.po-arch-item { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; margin: 0 0 1rem; }
.po-arch-rail {
  background: linear-gradient(180deg, var(--po-c,#ff2d95), #7b2cff); border-radius: 14px; width: 28px;
}
.po-arch-card {
  text-decoration: none; color: inherit; background: #fffef8;
  border: 3px solid var(--po-c, #ff2d95); border-radius: 18px; padding: .75rem;
  box-shadow: 6px 6px 0 #140f1a;
}
.po-arch-card img { width: 100%; max-height: 170px; display: block; margin-bottom: .5rem; border-radius: 8px; }
.po-arch-card .step {
  display: inline-block; margin-top: .4rem; padding: .2rem .55rem; border-radius: 999px;
  background: var(--po-c, #ff2d95); color: #fff; font-family: Arial, sans-serif; font-size: 11px; font-weight: 900;
}
.po-arch-card h3 { margin: .2rem 0; font-family: Georgia, serif; }
.po-arch-card .yr { font-family: Arial, sans-serif; font-weight: 900; color: var(--po-c,#ff2d95); font-size: 12px; }

.po-pencil { max-width: 740px; margin: 0 auto; padding: 1.5rem 1rem 3rem; position: relative; }
.po-pencil-path {
  position: absolute; left: 10%; right: 10%; top: 2rem; bottom: 2rem;
  border: 4px dashed transparent;
  border-image: repeating-linear-gradient(90deg, #ff2d95, #7b2cff, #00e5ff, #ffe600) 1;
  border-radius: 40% 60% 50% 50% / 20% 30% 70% 60%;
  pointer-events: none; opacity: .85;
}
.po-cyl {
  position: relative; z-index: 1; display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  margin: 0 0 1.8rem; align-items: center; text-decoration: none; color: inherit;
  background: #fffef8; border: 3px solid var(--po-c,#ff2d95); padding: .55rem;
  box-shadow: 6px 6px 0 #140f1a;
}
.po-cyl:nth-child(even) { margin-left: 14%; }
.po-cyl:nth-child(odd) { margin-right: 14%; }
.po-cyl-body {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(180deg, #fff 0 16%, var(--po-c,#ff2d95) 16% 84%, #140f1a 84%);
  border: 3px solid #140f1a; display: grid; place-items: center; overflow: hidden;
}
.po-cyl-body img { width: 72%; height: 72%; margin-top: 10%; }
.po-cyl .yr { font-family: Arial, sans-serif; font-size: 1.45rem; font-weight: 900; color: var(--po-c,#ff2d95); }
.po-cyl h3 { margin: .15rem 0; font-family: Georgia, serif; font-size: 1.05rem; }
.po-cyl p { margin: 0; color: #555; font-family: Arial, sans-serif; font-size: .85rem; }

/* ===== Artwork chronology ===== */
.po-art-rail {
  max-width: 960px; margin: 0 auto; padding: 1rem 1rem 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .85rem;
}
.po-art-card {
  text-decoration: none; color: inherit; background: #fffef8;
  border: 3px solid var(--po-c,#ff2d95); padding: .5rem;
  box-shadow: 5px 5px 0 #140f1a; display: flex; flex-direction: column; gap: .4rem;
}
.po-art-card:hover { transform: translate(-2px,-2px); }
.po-art-card img { width: 100%; height: 200px; background: #111; }
.po-art-year {
  font-family: Arial, sans-serif; font-weight: 900; font-size: 12px; letter-spacing: .08em;
  color: var(--po-c,#ff2d95);
}
.po-art-copy strong { display: block; font-family: Georgia, serif; font-size: .95rem; line-height: 1.2; }
.po-art-copy em, .po-art-copy i {
  display: block; font-style: normal; font-family: Arial, sans-serif; font-size: .75rem; color: #666; margin-top: .2rem;
}
.po-art-table-wrap {
  max-width: 1100px; margin: 0 auto 3rem; padding: 1.5rem 1rem;
  border-top: 4px solid #140f1a; background: rgba(255,255,255,.55);
}
.po-art-table-wrap h2 {
  margin: 0 0 .35rem; font-family: Georgia, serif; font-size: 1.4rem;
}
.po-art-table-wrap > p { margin: 0 0 1rem; font-family: Arial, sans-serif; color: #555; }
.po-art-table { overflow-x: auto; }
.po-art-table table { width: 100%; border-collapse: collapse; background: #fff; }
.po-art-table th, .po-art-table td {
  border: 2px solid #140f1a; padding: .55rem .65rem; vertical-align: middle;
  font-family: Arial, sans-serif; font-size: .9rem;
}
.po-art-table th { background: #140f1a; color: #ffe600; text-align: left; }
.po-art-thumb img { width: 96px; height: 96px; display: block; }
.po-art-missing {
  display: grid; place-items: center; width: 96px; height: 96px;
  border: 2px dashed #888; background: #f0ebe3; font-family: Arial, sans-serif;
  font-size: 10px; font-weight: 800; text-align: center; padding: .35rem; color: #666;
}
.po-art-table a { color: #7b2cff; font-weight: 700; }

@media (max-width: 720px) {
  .po-beauty { padding-left: 3.75rem; }
  .po-beauty::before { left: 1.5rem; margin-left: 0; }
  .po-beauty::after { left: 1.5rem; }
  .po-beauty-node, .po-bubble { grid-template-columns: 1fr; }
  .po-beauty-node:nth-child(odd) .po-beauty-card,
  .po-beauty-node:nth-child(even) .po-beauty-card { grid-column: 1; }
  .po-beauty-dot { left: 1.5rem; width: 48px; height: 48px; font-size: 10px; }
  .po-bubbles::before, .po-bubble-dot { display: none; }
  .po-beauty-card { grid-template-columns: 120px 1fr; }
  .po-beauty-card img { width: 120px; height: 150px; }
  .po-hex-piece:nth-child(odd), .po-hex-piece:nth-child(even) { transform: none; margin-left: 0; }
  .po-hex-piece { margin-top: -18px; }
  .po-chev-event:nth-child(odd), .po-chev-event:nth-child(even) { margin-left: 0; margin-right: 0; }
  .po-ring-row { grid-template-columns: 1fr 1fr; }
  .po-flag:nth-child(even) { margin-left: 0; }
  .po-ribbon-path { margin-left: 1rem; }
  .po-cyl:nth-child(even), .po-cyl:nth-child(odd) { margin-left: 0; margin-right: 0; }
}
