/* ============================================================
   /parties — the Taste Parties homepage. Sits on _SalesLayout and
   compass.css; adds device mockups and the paper/handwriting layer.
   ============================================================ */
.pl { --pt-paper: #F7F4EC; --pt-ink: #1f3350; overflow: hidden; }
.pl-hero { position: relative; padding: calc(74px + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 112px); }
.pl-hero .orb-a { width: 760px; height: 760px; right: -220px; top: -260px; }
.pl-hero .orb-b { width: 520px; height: 520px; left: -240px; bottom: -200px; }
.pl-hero .wrap { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .pl-hero .wrap { grid-template-columns: 1.02fr .98fr; gap: 56px; } }
.pl-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); }
.pl-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 10px var(--sage); animation: pl-blink 2.4s ease-in-out infinite; }
@keyframes pl-blink { 50% { opacity: .35; } }
.pl-hero h1 { margin: 22px 0 20px; text-wrap: balance; }
.pl-hero h1 em { font-style: normal; color: var(--sage); }
.pl-hero .lead { max-width: 33em; margin-bottom: 30px; }
.pl-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pl-join { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 18px; max-width: 32em; }
.pl-join label { flex: 1 1 100%; font-weight: 800; font-size: 14.5px; }
.pl-join input { font: 600 20px/1 'IBM Plex Mono', monospace; letter-spacing: .34em; text-transform: uppercase; width: 7.8em; min-width: 0; padding: 13px 14px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.28); color: var(--tx); }
.pl-join input::placeholder { color: var(--tx-faint); }
.pl-join input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(155,184,166,.18); }
.pl-join .btn { padding: 14px 24px; }
.pl-join small { flex: 1 1 100%; color: var(--tx-soft); font-size: 13px; }

/* Device mockups: sized in container units so they scale as one picture. */
.pl-stage { position: relative; padding-bottom: 24%; max-width: 640px; width: 100%; justify-self: center; }
.pl-laptop { width: 88%; margin-left: auto; }
.pl-laptop .lid { container: dev / inline-size; background: #07131c; border-radius: 14px 14px 0 0; padding: 1.3% 1.3% 1.9%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); width: 90%; margin: 0 auto; }
.pl-laptop .base { height: 12px; background: linear-gradient(180deg, #3a4955, #121f29); border-radius: 0 0 18px 18px; position: relative; box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.pl-laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 45%; transform: translateX(-50%); background: #0c171f; border-radius: 0 0 8px 8px; }
.pl-screen { aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; gap: 2cqi; padding: 4cqi 4.6cqi;
  background: radial-gradient(70% 90% at 85% -5%, rgba(155,184,166,.26), transparent 60%), linear-gradient(160deg, #00385c, #001a2c); }
.pl-meta { display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 1.6cqi; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-light); }
.pl-screen .h { font-weight: 900; font-size: 4.6cqi; line-height: 1.05; letter-spacing: -.025em; margin: 0; }
.pl-screen .h em { font-style: normal; color: var(--sage); }
.pl-tmap { flex: 1; display: grid; grid-template-columns: auto repeat(5, minmax(0, .55fr)) minmax(0, 2.1fr); gap: 1.4cqi 2cqi; align-items: center; align-content: center; }
.pl-tmap .th { font-family: 'IBM Plex Mono', monospace; font-size: 1.35cqi; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-soft); text-align: center; }
.pl-tmap i { width: 3cqi; height: 3cqi; border-radius: 50%; justify-self: center; background: var(--c); }
.pl-tmap i.no { background: transparent; box-shadow: inset 0 0 0 .3cqi rgba(255,255,255,.25); }
.pl-tmap .pl-av { --s: 4.6cqi; }
.pl-tmap .pn { font-size: 1.9cqi; font-weight: 600; color: var(--sage-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-strips { display: grid; grid-template-columns: auto repeat(5, 22px); gap: 9px 12px; align-items: center; justify-content: start; margin-top: 20px; }
.pl-strips b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--pt-paper); color: var(--pt-ink); }
.pl-strips .pl-av { --s: 28px; }
.pl-strips i { width: 14px; height: 14px; border-radius: 50%; justify-self: center; background: var(--sage); }
.pl-strips i.no { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.pl-cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqi; align-items: end; }
.pl-cols .col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.pl-cols .stack { display: flex; flex-wrap: wrap-reverse; justify-content: center; gap: .9cqi; padding: 1.4cqi .6cqi; border-radius: 1.6cqi 1.6cqi 0 0; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.08)); min-height: 7cqi; }
.pl-cols .hot .stack { background: linear-gradient(180deg, rgba(232,184,106,.06), rgba(232,184,106,.24)); }
.pl-cols .lab { border-top: .25cqi solid var(--line-strong); padding-top: 1cqi; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 1.4cqi; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-soft); }
.pl-cols .lab b { display: block; font-family: Inter, sans-serif; font-size: 3cqi; letter-spacing: -.02em; text-transform: none; color: var(--tx); }
.pl-cols .hot .lab, .pl-cols .hot .lab b { color: var(--amber); }
.pl-av { --s: 5.6cqi; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; background: var(--c); color: #001523; font-weight: 800; font-size: calc(var(--s) * .42); box-shadow: 0 0 0 2px rgba(0,30,50,.9); flex: none; }
.pl-av.m { --c: #f7c59f; } .pl-av.s { --c: #aed6f1; } .pl-av.p { --c: #C4A882; } .pl-av.j { --c: #f4d03f; } .pl-av.l { --c: #9BB8A6; } .pl-av.g { --c: #e6a1b4; } .pl-av.t { --c: #b9b3e8; } .pl-av.a { --c: #d6e58f; }
.pl-phone { position: absolute; left: 0; bottom: 0; width: 25%; container: ph / inline-size; }
.pl-phone .ph { aspect-ratio: 9 / 19; border: 3.4cqi solid #07131c; border-radius: 13.5cqi; overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
  background: radial-gradient(90% 50% at 90% 0%, rgba(155,184,166,.18), transparent 70%), linear-gradient(180deg, #00334f, #001b2d); padding: 13cqi 6cqi 6cqi; display: flex; flex-direction: column; gap: 3.6cqi; }
.pl-phone .ph::before { content: ""; position: absolute; top: 2.4cqi; left: 50%; width: 24cqi; height: 6.4cqi; border-radius: 99px; background: #07131c; transform: translateX(-50%); }
.pl-phone .top { font-family: 'IBM Plex Mono', monospace; font-size: 3.4cqi; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-light); display: flex; justify-content: space-between; }
.pl-phone .q { font-weight: 800; font-size: 7cqi; line-height: 1.18; letter-spacing: -.015em; margin: 0; }
.pl-phone .opt { padding: 3.8cqi 4.4cqi; border-radius: 4.6cqi; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); font-weight: 700; font-size: 4.8cqi; }
.pl-phone .opt.sel { background: var(--sage); border-color: var(--sage); color: #001523; }
.pl-paper.pl-place { position: absolute; right: 3%; bottom: 7%; width: 31%; transform: rotate(-5deg); padding: 3% 3.4% 2.6%; }

/* Paper */
.pl-paper { position: relative; color: var(--pt-ink); border-radius: 5px; background-color: var(--pt-paper);
  background-image: radial-gradient(120% 80% at 18% 0%, rgba(255,255,255,.75), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(214,201,176,.38), transparent 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 40px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.28); padding: 24px 24px 20px; }
.pl-paper .print { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #56636f; margin: 0; }
.pl-hand { font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 600; font-size: 24px; line-height: 1.22; margin: 10px 0 0; }
.pl-hand span { display: block; }
.pl-hand span:nth-child(3n+1) { transform: rotate(-.7deg) translateX(1px); }
.pl-hand span:nth-child(3n+2) { transform: rotate(.4deg) translateX(-2px); }
.pl-hand span:nth-child(3n) { transform: rotate(-.2deg) translateX(3px); }
.pl-script { font-family: 'Homemade Apple', 'Caveat', cursive; color: var(--pt-ink); line-height: 1.5; margin: 0; }
.pl-place .pl-script { font-size: clamp(14px, 2.4vw, 26px); margin-top: .3em; }
.pl-place .print { font-size: clamp(6px, .8vw, 9.5px); }

/* Sections */
.pl-sec { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.pl-band { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.pl-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.pl-head .h2 { margin-bottom: 14px; text-wrap: balance; }
.pl-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .pl-grid.c2, .pl-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pl-grid.c3 { grid-template-columns: repeat(3, 1fr); } .pl-grid.c3 .wide { grid-column: span 2; } .pl-grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.pl-card { padding: 28px 26px; }
.pl-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.pl-card p { margin: 0; color: var(--tx-soft); font-size: 14.5px; line-height: 1.65; }
.pl-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; color: var(--tx-soft); margin: 0 0 18px; }
.pl-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(155,184,166,.12); border: 1px solid rgba(155,184,166,.25); color: var(--sage-light); margin-bottom: 18px; }
.pl-ico svg { width: 24px; height: 24px; }
.pl-label { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.pl-viz { display: flex; align-items: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.pl-viz .col { flex: 1 1 70px; min-width: 0; }
.pl-viz .stack { display: flex; flex-wrap: wrap; gap: 4px; min-height: 34px; align-content: flex-end; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.pl-viz .pl-av { --s: 28px; }
.pl-viz span.lbl { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-soft); margin-top: 7px; }
.pl-foods { display: flex; gap: 8px; margin-top: 18px; }
.pl-foods img { width: 25%; max-width: 70px; aspect-ratio: 1; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.pl-map { display: grid; grid-template-columns: auto repeat(5, 18px); gap: 9px 12px; align-items: center; justify-content: start; margin-top: 20px; }
.pl-map .pl-av { --s: 28px; }
.pl-map i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.pl-map i.no { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.pl-keep { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .pl-keep { grid-template-columns: repeat(3, 1fr); } }
.pl-keep .pl-paper { max-width: 420px; width: 100%; justify-self: center; }
.pl-tent { text-align: center; padding: 30px 18px 26px; }
.pl-tent .pl-script { font-size: 30px; margin: 12px 0 10px; }
.pl-tent .fold { position: absolute; left: 0; right: 0; top: 0; height: 10px; border-bottom: 1px dashed rgba(31,51,80,.25); }
.pl-types { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .pl-types { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.pl-kid { border-radius: var(--r-xl); background: radial-gradient(#fbfaf6, #e9efe9); box-shadow: var(--shadow-lg); padding: 6%; max-width: 520px; width: 100%; justify-self: center; }
.pl-kid img { width: 100%; height: auto; }
.pl-typelist { display: grid; gap: 12px; }
.pl-type { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px 18px; }
.pl-type .pl-ico { width: 42px; height: 42px; margin: 0; grid-row: span 2; border-radius: 12px; }
.pl-type .pl-ico svg { width: 20px; height: 20px; }
.pl-type b { font-size: 15.5px; }
.pl-type p { margin: 0; color: var(--tx-soft); font-size: 13.5px; line-height: 1.55; }
.pl-need { display: grid; gap: 18px; }
@media (min-width: 760px) { .pl-need { grid-template-columns: repeat(3, 1fr); } }
.pl-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.pl-faq details { border-radius: 18px; }
.pl-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; font-size: 15.5px; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::before { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 500; color: var(--sage-light); }
.pl-faq details[open] summary::before { content: "\2212"; }
.pl-faq details p { margin: 0; padding: 0 22px 20px 64px; color: var(--tx-soft); font-size: 14.5px; line-height: 1.65; }
.pl-final { text-align: center; padding: clamp(80px, 10vw, 120px) 0; background: linear-gradient(180deg, var(--navy), var(--navy-deeper)); }
.pl-final .h2 { margin: 0 auto 26px; max-width: 16em; text-wrap: balance; }
.pl-final .pl-ctas { justify-content: center; }
@media (max-width: 860px) { .pl-stage { margin-top: 8px; } }
