/* Plana — a restaurant menu and an itemised receipt.
   Deep green, cream and gold, with the playful scalloped shapes of the app's own UI. */
.work--plana {
  --g: #1f3a2e;
  --g2: #284a3a;
  --g3: #9fc6a6;
  --cr: #f3e9d2;
  --pp: #fbf5e6;
  --gold: #d9a441;
  --pink: #efc3bd;
  --yel: #f4d96b;
  --tomato: #d9543f;
  --ink2: #1d2a23;
  --page-bg: var(--g);
  --page-ink: var(--cr);
  background: var(--g);
  color: var(--cr);
}
.work--plana ::selection { background: var(--gold); color: var(--g); }
.work--plana :focus-visible { outline-color: var(--gold); }
.toast:not(.is-on) { visibility: hidden; transition: transform .5s var(--ease-out-expo), visibility 0s .5s; }

.pl-kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: .8em; }
.pl-kicker::before, .pl-kicker--center::after { content: ''; width: 2.2em; height: 1px; background: currentColor; }
.pl-kicker--center { justify-content: center; }
.pl-btn {
  display: inline-flex; align-items: center; height: 3.1rem; padding: 0 1.6rem; border-radius: 999px;
  background: var(--gold); color: var(--g); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  transition: transform .35s var(--ease-out-quart), background .3s, color .3s;
}
.pl-btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--yel); }
.pl-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.pl-btn--ghost:hover { background: var(--cr); color: var(--g); }

/* ---------- cover ---------- */
.pl-cover {
  position: relative; min-height: 100svh;
  padding: calc(var(--header-h) + 64px) var(--edge) 70px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(217, 164, 65, .16), transparent 45%),
    var(--g);
}
.pl-cover__frame {
  position: relative; padding: clamp(2rem, 4vw, 3.6rem);
  border: 1.5px solid var(--gold); outline: 1.5px solid var(--gold); outline-offset: 8px;
  border-radius: 200px 200px 14px 14px;
  text-align: center;
}
.pl-cover__est { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 3rem; }
.pl-cover__est span { margin: 0 .5em; }
.pl-cover__title {
  font-family: var(--font-serif); font-style: italic; font-weight: 450; line-height: .85; letter-spacing: -.035em;
  font-size: clamp(5rem, 15vw, 15rem); margin-top: .5rem;
}
.pl-cover__word { display: inline-block; }
.pl-cover__tag { font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; max-width: 24ch; margin: 1.2rem auto 0; }
.pl-cover__tag em { color: var(--gold); }
.pl-cover__rule { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 1.8rem auto; max-width: 320px; }
.pl-cover__rule span { flex: 1; height: 1px; background: currentColor; }
.pl-cover__rule i { font-style: normal; font-size: 12px; }
.pl-cover__sub { font-size: 12px; line-height: 1.7; max-width: 44ch; margin: 0 auto; opacity: .85; }
.pl-cover__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.pl-badge {
  position: absolute; z-index: 3; top: calc(var(--header-h) + 50px); left: calc(50% - 90px);
  width: 150px; height: 150px; display: grid; place-items: center; text-align: center;
  color: var(--g); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35;
}
.pl-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--yel); animation: pl-spin 22s linear infinite; }
.pl-badge span { position: relative; }
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* ---------- phones ---------- */
.pl-phones { position: relative; height: min(76vh, 660px); }
.pl-phone {
  position: absolute; width: clamp(220px, 19vw, 280px); aspect-ratio: 9 / 19;
  background: #151515; border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 0 0 2px #3a3a3a;
}
.pl-phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #151515; border-radius: 20px; z-index: 3; }
.pl-phone--a { left: 4%; top: 6%; transform: rotate(-6deg); }
.pl-phone--b { right: 4%; top: 18%; transform: rotate(5deg); }
.pl-screen, .pl-demo { position: relative; height: 100%; border-radius: 34px; overflow: hidden; color: var(--ink2); padding: 50px 18px 18px; }
.pl-screen--plan { background: var(--yel); }
.pl-screen--pay { background: #e9c6c1; }
.pl-ui-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 500; }
.pl-ui-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .55); display: grid; place-items: center; font-size: 14px; }
.pl-ui-h { font-family: var(--font-serif); font-size: 1.9rem; line-height: .95; margin-top: 1.2rem; letter-spacing: -.02em; }
.pl-ui-s { font-size: 9px; letter-spacing: .1em; margin-top: .6rem; font-weight: 500; }
.pl-ui-big { font-family: var(--font-serif); font-size: 2.3rem; margin-top: .6rem; }
.pl-ui-blob { position: absolute; right: -26px; top: 64px; width: 128px; height: 128px; display: grid; place-items: center; font-size: 11px; font-weight: 500; }
.pl-ui-blob svg { position: absolute; inset: 0; fill: #e6c04f; animation: pl-spin 30s linear infinite; }
.pl-ui-blob span { position: relative; }
.pl-ui-wave {
  margin: 2rem -18px 0; padding: 1.3rem 18px; background: #fbec9a;
  clip-path: url(#pl-wavy);
  display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 500;
}
.pl-ui-wave b { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 450; }
.pl-ui-wave--pink { background: var(--pink); }
.pl-ui-row { display: flex; margin-top: 1.2rem; }
.pl-ui-row i, .pl-joins i, .pl-cart i, .pl-bars i, .pl-r-items i, .pl-r-people i {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--c, #fff); color: var(--ink2); font-style: normal; font-size: 11px; font-weight: 500;
  border: 2px solid rgba(0, 0, 0, .08);
}
.pl-ui-row i + i { margin-left: -8px; }
.pl-all { background: var(--ink2) !important; color: var(--cr) !important; }
.pl-ui-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.2rem; }
.pl-ui-pills span { font-size: 10px; padding: .45rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink2); }
.pl-ui-pills .is-on { background: var(--ink2); color: var(--cr); }
.pl-ui-pay { position: absolute; left: 18px; right: 18px; bottom: 22px; height: 48px; border-radius: 999px; background: var(--ink2); color: var(--cr); display: grid; place-items: center; font-size: 12px; font-weight: 500; }

/* ---------- problem ---------- */
.pl-problem { background: var(--pp); color: var(--g); padding: 18vh var(--edge) 16vh; text-align: center; border-radius: 48px 48px 0 0; position: relative; }
.pl-problem .pl-kicker { justify-content: center; color: var(--tomato); }
.pl-problem .pl-kicker::after { content: ''; width: 2.2em; height: 1px; background: currentColor; }
.pl-problem__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.6rem, 7.5vw, 7.4rem); line-height: .98; letter-spacing: -.03em; margin-top: 1.4rem; }
.pl-problem__h span { display: inline-block; }
.pl-problem__h em { color: var(--tomato); }
.pl-problem__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; max-width: 900px; margin: 3.2rem auto 0; text-align: left; font-size: 14px; line-height: 1.75; }

/* ---------- menu ---------- */
.pl-menu { background: var(--pp); padding: 4vh var(--edge) 18vh; position: relative; }
.pl-menu__card {
  position: relative; max-width: 880px; margin: 0 auto;
  background: var(--cr); color: var(--g);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 7vw, 6rem);
  border-radius: 360px 360px 22px 22px;
  box-shadow: 0 30px 80px rgba(31, 58, 46, .18);
}
.pl-menu__card::before { content: ''; position: absolute; inset: 14px; border: 1.5px solid var(--gold); border-radius: 350px 350px 14px 14px; pointer-events: none; }
.pl-menu__head { text-align: center; padding-top: 3rem; }
.pl-menu__head .pl-kicker { justify-content: center; }
.pl-menu__head .pl-kicker::after { content: ''; width: 2.2em; height: 1px; background: currentColor; }
.pl-menu__title { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.02em; margin-top: 1rem; }
.pl-menu__title em { color: var(--tomato); }
.pl-menu__note { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 1rem; opacity: .7; }
.pl-course { margin-top: 3.4rem; }
.pl-course__name { text-align: center; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.pl-item { padding: .85rem 0; cursor: default; position: relative; }
.pl-item__row { display: flex; align-items: baseline; gap: .6rem; }
.pl-item__dish { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; transition: color .3s; }
.pl-item__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(31, 58, 46, .45); transform: translateY(-.3em); transform-origin: left; }
.pl-item__price { font-size: 12px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.pl-item__desc { font-size: 12.5px; line-height: 1.6; margin-top: .3rem; max-width: 52ch; opacity: .8; }
.pl-item:hover .pl-item__dish { color: var(--tomato); }
.js .pl-item .pl-item__dots { transform: translateY(-.3em) scaleX(0); transition: transform 1.2s var(--ease-out-expo) .15s; }
.js .pl-item.is-in .pl-item__dots { transform: translateY(-.3em) scaleX(1); }
.js .pl-item { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .9s var(--ease-out-expo); }
.js .pl-item.is-in { opacity: 1; transform: none; }
.pl-menu__foot { text-align: center; margin-top: 3.6rem; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pl-peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 210px; height: 210px; pointer-events: none;
  clip-path: url(#pl-scallop); opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .3s, transform .5s var(--ease-out-expo);
}
.pl-peek img { width: 100%; height: 100%; object-fit: cover; }
.pl-peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- how (pinned phone) ---------- */
.pl-how { background: var(--g); }
.pl-how__pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding: calc(var(--header-h) + 40px) max(var(--edge), calc(50vw - 640px)) 40px; }
.pl-how__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin: 1rem 0 2.4rem; }
.pl-how__h em { color: var(--gold); }
.pl-steps { display: grid; gap: .4rem; }
.pl-step { display: flex; gap: 1.2rem; padding: 1rem 1.2rem; border-radius: 22px; opacity: .45; transition: opacity .5s, background .5s; }
.pl-step b { font-family: var(--font-serif); font-weight: 450; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.pl-step h3 { font-family: var(--font-serif); font-weight: 450; font-size: 1.5rem; line-height: 1.1; }
.pl-step p { font-size: 12.5px; line-height: 1.6; margin-top: .3rem; max-width: 46ch; }
.pl-step.is-on { opacity: 1; background: var(--g2); }
.pl-how__stage { position: relative; height: min(80vh, 680px); display: grid; place-items: center; }
.pl-how__blob { position: absolute; width: min(36vw, 520px); aspect-ratio: 1; }
.pl-how__blob svg { width: 100%; height: 100%; fill: var(--gold); opacity: .9; animation: pl-spin 40s linear infinite; }
.pl-phone--demo { position: relative; transform: rotate(-3deg); }
.pl-demo { background: var(--pp); padding: 0; }
.pl-demo__s { position: absolute; inset: 0; padding: 50px 18px 18px; transition: transform .8s var(--ease-out-expo), opacity .5s; }
.pl-demo__s--1 { background: var(--yel); }
.pl-demo__s--2 { background: var(--pp); }
.pl-demo__s--3 { background: #e9c6c1; }
.pl-demo__s--4 { background: var(--g3); }
.pl-demo[data-step] .pl-demo__s { transform: translateY(100%); }
.pl-demo[data-step='1'] .pl-demo__s--1, .pl-demo[data-step='2'] .pl-demo__s--2, .pl-demo[data-step='3'] .pl-demo__s--3, .pl-demo[data-step='4'] .pl-demo__s--4 { transform: none; }
.pl-demo[data-step='2'] .pl-demo__s--1, .pl-demo[data-step='3'] .pl-demo__s--1, .pl-demo[data-step='3'] .pl-demo__s--2, .pl-demo[data-step='4'] .pl-demo__s--1, .pl-demo[data-step='4'] .pl-demo__s--2, .pl-demo[data-step='4'] .pl-demo__s--3 { transform: translateY(-30%) scale(.92); opacity: 0; }
.pl-joins { margin-top: 1.4rem; display: grid; gap: .55rem; font-size: 11px; }
.pl-joins p { display: flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .55); padding: .45rem; border-radius: 999px; }
.pl-joins i { width: 26px; height: 26px; }
.pl-demo[data-step='1'] .pl-joins p { animation: pl-pop .6s var(--ease-out-expo) both; }
.pl-demo[data-step='1'] .pl-joins p:nth-child(2) { animation-delay: .25s; }
.pl-demo[data-step='1'] .pl-joins p:nth-child(3) { animation-delay: .5s; }
.pl-demo[data-step='1'] .pl-joins p:nth-child(4) { animation-delay: .75s; }
@keyframes pl-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.pl-cart { margin-top: 1.2rem; display: grid; gap: .5rem; font-size: 11px; }
.pl-cart li { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; border-bottom: 1px dashed rgba(29, 42, 35, .2); }
.pl-cart i { width: 24px; height: 24px; font-size: 10px; }
.pl-cart b { margin-left: auto; font-weight: 500; }
.pl-toast { position: absolute; left: 14px; right: 14px; bottom: 18px; background: var(--ink2); color: var(--cr); font-size: 10px; padding: .7rem .9rem; border-radius: 16px; }
.pl-demo[data-step='2'] .pl-toast { animation: pl-pop .7s .4s var(--ease-out-expo) both; }
.pl-seg { display: flex; background: rgba(255, 255, 255, .5); border-radius: 999px; padding: 4px; margin-top: 1rem; font-size: 10px; }
.pl-seg > * { flex: 1; text-align: center; padding: .5rem; border-radius: 999px; }
.pl-seg .is-on { background: var(--ink2); color: var(--cr); }
.pl-bars { margin-top: 1.2rem; display: grid; gap: .8rem; font-size: 10.5px; }
.pl-bars li { display: grid; grid-template-columns: 26px 1fr auto; gap: .5rem; align-items: center; }
.pl-bars i { width: 26px; height: 26px; }
.pl-bars span { height: 12px; border-radius: 6px; background: var(--ink2); transform-origin: left; transform: scaleX(var(--w)); }
.pl-demo[data-step='3'] .pl-bars span { animation: pl-bar 1s var(--ease-out-expo) both; }
@keyframes pl-bar { from { transform: scaleX(0); } }
.pl-paid { position: relative; width: 150px; height: 150px; margin: 1.6rem auto 0; display: grid; place-items: center; font-family: var(--font-serif); font-size: 2rem; color: var(--cr); }
.pl-paid svg { position: absolute; inset: 0; fill: var(--g); }
.pl-paid span { position: relative; }
.pl-demo[data-step='4'] .pl-paid { animation: pl-stampin .7s var(--ease-out-expo) both; }
@keyframes pl-stampin { from { transform: scale(1.6) rotate(-20deg); opacity: 0; } }
.pl-how__dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.pl-how__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--cr); opacity: .3; transition: opacity .3s, transform .3s; }
.pl-how__dots i.is-on { opacity: 1; transform: scale(1.4); background: var(--gold); }

/* ---------- receipt ---------- */
.pl-bill { background: var(--pink); color: var(--g); }
.pl-bill__pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: calc(var(--header-h) + 40px) max(var(--edge), calc(50vw - 600px)) 40px; }
.pl-bill .pl-kicker { color: var(--tomato); }
.pl-bill__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin-top: 1rem; }
.pl-bill__h em { color: var(--tomato); }
.pl-bill__p { font-size: 13.5px; line-height: 1.75; margin-top: 1.6rem; max-width: 50ch; }
.pl-seg--big { max-width: 360px; margin-top: 2rem; background: rgba(255, 255, 255, .45); font-size: 12px; }
.pl-seg--big button { padding: .8rem 1rem; transition: background .3s, color .3s; }
.pl-bill__fine { font-size: 11px; margin-top: 1.2rem; opacity: .75; }
.pl-receipt-wrap { position: relative; }
.pl-printer { height: 26px; background: var(--ink2); border-radius: 14px 14px 6px 6px; position: relative; z-index: 2; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
.pl-printer span { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 4px; background: #000; border-radius: 3px; }
.pl-receipt { margin: -6px 14px 0; overflow: hidden; position: relative; }
.pl-receipt__inner {
  position: relative; background: #fffdf7; color: #2b2b2b; padding: 1.6rem 1.4rem 2.2rem;
  font-size: 11.5px; line-height: 1.5; font-variant-numeric: tabular-nums;
  box-shadow: 0 20px 40px rgba(31, 58, 46, .18);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle 7px at 7px 100%, transparent 6.5px, #000 7px) bottom / 14px 7px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle 7px at 7px 100%, transparent 6.5px, #000 7px) bottom / 14px 7px repeat-x;
}
.pl-r-c { text-align: center; letter-spacing: .06em; }
.pl-r-logo { font-family: var(--font-serif); font-style: italic; font-size: 1.8rem; letter-spacing: 0; color: var(--g); }
.pl-r-hr { border-top: 1.5px dashed #9a9a9a; margin: .8rem 0; }
.pl-r-items { width: 100%; border-collapse: collapse; }
.pl-r-items th { font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; text-align: left; padding-bottom: .3rem; }
.pl-r-items th:last-child, .pl-r-items td:last-child { text-align: right; }
.pl-r-items td { padding: .28rem 0; vertical-align: middle; }
.pl-r-items td:nth-child(2) { width: 34px; }
.pl-r-items i { width: 20px; height: 20px; font-size: 9px; border-width: 1px; }
.pl-r-sum > div { display: flex; justify-content: space-between; padding: .18rem 0; }
.pl-r-voucher { color: var(--tomato); }
.pl-r-total { font-weight: 500; font-size: 14px; border-top: 1.5px solid #2b2b2b; margin-top: .4rem; padding-top: .5rem !important; }
.pl-r-cut { margin: 1.2rem -1.4rem; border-top: 1.5px dashed #9a9a9a; position: relative; }
.pl-r-cut::before { content: '✂'; position: absolute; left: 1rem; top: -.75em; background: #fffdf7; padding: 0 .3rem; font-size: 12px; color: #777; }
.pl-r-mode { font-weight: 500; }
.pl-r-people { display: grid; gap: .45rem; margin: .8rem 0; }
.pl-r-people li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: .6rem; }
.pl-r-people i { width: 22px; height: 22px; font-size: 9px; }
.pl-r-people b { font-weight: 500; font-size: 13px; }
.pl-r-how { font-size: 10px; color: #666; }
.pl-r-check { font-size: 10px; margin-top: .4rem; color: var(--g); }
.pl-r-thanks { margin-top: 1.4rem; font-size: 10px; }
.pl-r-barcode { height: 34px; margin: .8rem auto 0; width: 70%; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 5px, transparent 5px 8px, #222 8px 11px, transparent 11px 12px); }
.pl-stamp {
  position: absolute; right: 26%; top: 27%; border: 3px solid var(--tomato); color: var(--tomato);
  font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; padding: .3rem .8rem .5rem; border-radius: 10px;
  transform: rotate(-14deg) scale(2); opacity: 0; text-align: center; mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.pl-stamp small { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; margin-top: .2rem; }
.pl-receipt.is-paid .pl-stamp { opacity: .85; transform: rotate(-14deg) scale(1); }
.pl-r-people b.is-flip { animation: pl-flip .5s var(--ease-out-expo); }
@keyframes pl-flip { 0% { opacity: 0; transform: translateY(6px); } }
.js .pl-receipt .pl-r-line { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .5s var(--ease-out-expo); }
.js .pl-receipt .pl-r-line.is-on { opacity: 1; transform: none; }

/* ---------- numbers ---------- */
.pl-numbers { background: var(--pp); color: var(--g); padding: 16vh var(--edge); }
.pl-numbers .pl-kicker { color: var(--tomato); }
.pl-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 3rem); max-width: 1200px; margin: 3.5rem auto 0; }
.pl-num { position: relative; aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: .4rem; color: var(--g); }
.pl-num svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--yel); transition: transform 1.2s var(--ease-out-expo); }
.pl-num:hover svg { transform: rotate(40deg) scale(1.05); }
.pl-num--pink svg { fill: var(--pink); }
.pl-num--cream svg { fill: var(--cr); }
.pl-num--green svg { fill: var(--g); }
.pl-num--green { color: var(--cr); }
.pl-num b, .pl-num > span { position: relative; }
.pl-num b { font-family: var(--font-serif); font-weight: 450; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; }
.pl-num b small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; }
.pl-num > span { font-size: 11px; max-width: 16ch; margin: 0 auto; line-height: 1.4; }

/* ---------- dessert ---------- */
.pl-dessert {
  background: var(--g2); padding: 16vh max(var(--edge), calc(50vw - 640px));
  display: grid; grid-template-columns: 1fr auto auto; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.pl-dessert__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.02em; margin: 1rem 0 1.4rem; }
.pl-dessert__h em { color: var(--gold); }
.pl-dessert p { font-size: 13px; line-height: 1.7; max-width: 40ch; }
.pl-wheel-wrap, .pl-scratch-wrap { display: grid; justify-items: center; gap: 1rem; }
.pl-wheel { position: relative; width: clamp(220px, 22vw, 300px); aspect-ratio: 1; }
.pl-wheel svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3)); }
.pl-wheel__g { transform-origin: 100px 100px; }
.pl-wheel__g text { font-family: var(--font-mono); font-size: 7.5px; font-weight: 500; fill: var(--ink2); }
.pl-wheel__pin { position: absolute; left: 50%; top: -10px; width: 0; height: 0; transform: translateX(-50%); border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 24px solid var(--tomato); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.pl-wheel__out { font-size: 12px; min-height: 1.5em; color: var(--gold); text-align: center; }
.pl-scratch { position: relative; width: clamp(220px, 20vw, 270px); aspect-ratio: 4 / 5; clip-path: url(#pl-scallop); }
.pl-scratch__prize { position: absolute; inset: 0; background: var(--yel); color: var(--g); display: grid; place-content: center; text-align: center; gap: .4rem; padding: 2rem; font-size: 11px; }
.pl-scratch__prize b { font-family: var(--font-serif); font-style: italic; font-weight: 450; font-size: 1.9rem; line-height: 1; }
.pl-scratch__foil { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; transition: opacity .6s; }
.pl-scratch__foil.is-gone { opacity: 0; pointer-events: none; }

/* ---------- gallery ---------- */
.pl-gallery { background: var(--pp); color: var(--g); padding: 16vh var(--edge); }
.pl-gallery__head { max-width: 1200px; margin: 0 auto 3rem; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .6rem 3rem; }
.pl-gallery__head .pl-kicker { grid-column: 1 / -1; color: var(--tomato); }
.pl-gallery__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.pl-gallery__p { font-size: 12px; max-width: 46ch; line-height: 1.6; justify-self: end; }
.pl-gallery__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.pl-g { position: relative; }
.pl-g img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 26px; transition: transform .8s var(--ease-out-expo), border-radius .8s var(--ease-out-expo); }
.pl-g:hover img { transform: scale(1.02) rotate(-1deg); border-radius: 80px; }
.pl-g--scallop img { clip-path: url(#pl-scallop); border-radius: 0; aspect-ratio: 1; }
.pl-g--tall { grid-row: span 2; }
.pl-g--tall img { aspect-ratio: auto; height: 100%; min-height: 100%; border-radius: 300px 300px 26px 26px; }
.pl-g--wavy img { clip-path: url(#pl-wavy); border-radius: 0; }
.pl-g--wide { grid-column: span 2; }
.pl-g--wide img { aspect-ratio: 16 / 7; }
.pl-g figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--pp); color: var(--g); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }
.pl-g--tall figcaption { bottom: 1.6rem; }

/* ---------- reel ---------- */
.pl-reel { background: var(--g); padding: 16vh var(--edge); text-align: center; }
.pl-reel__h { font-family: var(--font-serif); font-weight: 450; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 3rem; }
.pl-reel__h em { color: var(--gold); }
.pl-reel__frame { max-width: 1100px; margin: 0 auto; padding: clamp(10px, 1.6vw, 22px); background: var(--gold); clip-path: url(#pl-wavy); }
.pl-reel__frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #000; clip-path: url(#pl-wavy); }

/* ---------- ingredients ---------- */
.pl-ingredients { background: var(--g); padding: 4vh max(var(--edge), calc(50vw - 600px)) 16vh; display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pl-ingredients__card { background: var(--cr); color: var(--g); border-radius: 22px; padding: 2rem 1.8rem; border: 1.5px solid var(--gold); outline: 1.5px solid var(--cr); outline-offset: 6px; }
.pl-ingredients__h { font-family: var(--font-serif); font-weight: 450; font-size: 2.4rem; border-bottom: 6px solid var(--g); padding-bottom: .4rem; }
.pl-ing li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(31, 58, 46, .25); font-size: 13px; font-weight: 500; }
.pl-ing li span { font-weight: 400; font-size: 11px; opacity: .75; text-align: right; }
.pl-ing__allergy { margin-top: 1rem; font-size: 11px; line-height: 1.6; }
.pl-links__p { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.25; margin-top: 1.2rem; max-width: 26ch; }
.pl-links__row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pl-cover { grid-template-columns: 1fr; padding-bottom: 90px; }
  .pl-phones { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; }
  .pl-badge { left: auto; right: var(--edge); top: calc(var(--header-h) + 40px); width: 120px; height: 120px; font-size: 9.5px; }
  .pl-how__pin, .pl-bill__pin { grid-template-columns: 1fr; }
  .pl-how__stage { height: 560px; }
  .pl-dessert { grid-template-columns: 1fr 1fr; }
  .pl-dessert__copy { grid-column: 1 / -1; }
  .pl-stamps { grid-template-columns: 1fr 1fr; }
  .pl-ingredients { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) and (min-height: 0px) {
  /* on narrow screens the pinned walkthrough becomes compact: steps above, phone below */
  .pl-how__pin { gap: 1rem; padding-top: calc(var(--header-h) + 20px); align-content: start; }
  .pl-how__h { margin-bottom: 1rem; font-size: 2.2rem; }
  .pl-step:not(.is-on) { display: none; }
  .pl-step { opacity: 1; background: var(--g2); }
  .pl-how__stage { height: auto; }
  .pl-how__stage .pl-phone { width: 210px; }
  .pl-how__blob { width: 340px; }
  .pl-how__dots { right: auto; left: 0; top: 0; transform: none; grid-auto-flow: column; }
}
@media (max-width: 640px) {
  .pl-cover__frame { border-radius: 140px 140px 12px 12px; padding: 2rem 1.1rem; }
  .pl-cover__est { margin-top: 2.4rem; font-size: 9.5px; }
  .pl-phones { height: 440px; }
  .pl-phone { width: 190px; border-radius: 36px; }
  .pl-phone--a { left: 0; }
  .pl-phone--b { right: 0; top: 14%; }
  .pl-screen { padding: 44px 14px 14px; border-radius: 28px; }
  .pl-ui-h { font-size: 1.5rem; }
  .pl-ui-blob { width: 100px; height: 100px; top: 54px; }
  .pl-problem { border-radius: 28px 28px 0 0; }
  .pl-problem__cols { grid-template-columns: 1fr; }
  .pl-menu__card { border-radius: 180px 180px 18px 18px; }
  .pl-menu__card::before { border-radius: 172px 172px 12px 12px; inset: 10px; }
  .pl-item__row { flex-wrap: wrap; }
  .pl-item__dots { display: none; }
  .pl-item__price { width: 100%; color: var(--tomato); }
  .pl-bill__pin { padding-top: calc(var(--header-h) + 30px); gap: 1.5rem; }
  .pl-bill__p { display: none; }
  .pl-bill__h { font-size: 2rem; }
  .pl-dessert { grid-template-columns: 1fr; justify-items: center; }
  .pl-gallery__head { grid-template-columns: 1fr; }
  .pl-gallery__p { justify-self: start; }
  .pl-gallery__grid { grid-template-columns: 1fr 1fr; }
  .pl-g--tall { grid-row: auto; }
  .pl-g--tall img { aspect-ratio: 4 / 5; height: auto; }
  .pl-g--wide { grid-column: 1 / -1; }
  .pl-stamps { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .pl-item, .js .pl-receipt .pl-r-line { opacity: 1; transform: none; }
  .js .pl-item .pl-item__dots { transform: translateY(-.3em); }
  .pl-badge svg, .pl-ui-blob svg, .pl-how__blob svg { animation: none; }
}
