/* ==========================================================================
   NNP RAISINS — NEWS POST, PILOT CONCEPT A: THE POSTCARD (2026-09-29, v2)
   Loaded by news/gulfood-dubai-2026/preview-postcard.html only, after
   site.css. Preview; nothing live links here.

   The page's noun: a post from a show is a POSTCARD home from that city.
   The stand photograph is the picture side, the invitation NNP published
   before the show is the stamp, the facts are the address. Desktop: the
   card is dealt in written side up and turns to its picture, then ONE
   short pinned scene where the scroll turns it back to be read.

   ⚠ NOTHING HERE KNOWS THE EVENT. Every word, picture, focus point and
     aspect lives in the page's markup, so eight posts share this file.
   ⚠ THE BASE STATE IS THE READABLE DOCUMENT (GOTCHAS: a scroll scene's
     initial state must never hide content). Without the script and under
     reduced motion both sides of the card sit flat: side by side from
     1100px, one after the other below. `.pc-3d` (desktop) and `.pc-flip`
     (phone) are added by the script.
   ⚠ LIGHT, for Ravshan's "even on a Mac it barely moves": one pinned scene
     at 260vh, transform and opacity only, no animated filter, no
     backdrop-filter anywhere (the stuck masthead is a solid tint here).
   ⚠ PRESERVE-3D STOPS AT .pc-card. Each face is flat; its clipping box is
     .pc-face-in, a child of the flat face, so it is NOT inside a 3D
     context and its overflow + clip-path hold (GOTCHAS: preserve-3d on an
     ancestor switches off overflow: hidden).
   ⚠ NO CSS TRANSITION on anything GSAP tweens (GOTCHAS).
   ⚠ Nothing depends on :hover — his PC reports hover:none. The sheen
     follows pointermove, the flip is the scroll or the button.
   ⚠ THE CARD'S OWN UNIT, --u = 1% of the card's width. Everything printed
     on the card is sized in it, so the card scales as one object. Where
     container units exist it is 1cqi; on Safari 15 and older (no
     container units) it is computed from --pc-fw, the card width each
     layout sets below. Keep --pc-fw in step with the layout if a card
     width changes. The wide/narrow switch is a MEDIA query (901px), not
     a container query, for the same browsers.
   ========================================================================== */

/* ------------------------------------------------------------ page ---- */
.pc-dark-page, .pc-dark-page body { background: #0b0812; }
.pc-dark-page body { padding-top: 0; }
.pc { --pc-bg: #0b0812; --pc-stock: #fbfaf6; --pc-stock-dp: #f1efe8; --pc-ink: #16141c; --pc-ink-2: #55506a;
      --pc-rule: rgba(75,30,120,.16); --pc-ink-violet: #4b1e78; --pc-rad: 7px;
      /* the card's width in the phone layout (see --u) */
      --pc-fw: min(100vw - 2 * var(--spine), 520px);
      position: relative; background: var(--pc-bg); color: var(--chalk); overflow-x: clip; }

/* ------------------------------------------------------- masthead ---- */
/* The News index's dark masthead, minus its backdrop blur (a blur under a
   scrolling page is re-rendered every frame). */
.pc-dark-page .masthead:not(.is-stuck) { background: transparent; border-bottom-color: transparent; }
.pc-dark-page .masthead.is-stuck { background: rgba(14,7,28,.92); border-bottom-color: rgba(242,237,248,.12); }
.pc-dark-page .masthead .brand { color: #fff; }
.pc-dark-page .masthead .navtoggle { color: #fff; border-color: rgba(255,255,255,.35); }
@media (min-width: 1001px) {
  .pc-dark-page .masthead .mainnav a:not(.btn) { color: var(--chalk-dim); }
  .pc-dark-page .masthead .mainnav a:not(.btn):hover,
  .pc-dark-page .masthead .mainnav a:not(.btn)[aria-current="page"] { color: #fff; }
  .pc-dark-page .masthead .btn-primary { background: var(--chalk); color: var(--violet-dp); }
  .pc-dark-page .masthead .btn-primary::before { background: #fff; }
  .pc-dark-page .masthead :focus-visible { outline-color: #fff; }
}

/* ------------------------------------------------------------- type ---- */
.pc-kick { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-lt); margin: 0 0 18px; }
.pc-h1 { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(60px, 17vw, 96px); line-height: .86; letter-spacing: -.055em; margin: 0; text-wrap: nowrap;
  text-shadow: 0 18px 60px rgba(5,2,12,.45); }
.pc-ln { display: block; }
.pc-ln > span { display: inline-block; }
.pc-accent > span { color: var(--violet-lt); }
.pc-h2 { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(44px, 7vw, 124px); line-height: .9; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.pc-wd { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .08em; margin: -.1em -.04em -.08em; }
.pc-wd > span { display: inline-block; }

/* the city: gradient fill, fitted to the screen by the script (the --len
   fallback holds without it) */
.pc-city { position: absolute; left: 0; right: 0; margin: 0; z-index: 0; pointer-events: none; text-align: center; white-space: nowrap;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.055em; line-height: .8;
  font-size: min(calc(118vw / var(--len, 5)), 58vh); }
.pc-city-in { display: inline-block; padding: 0 .1em; }
.pc-city-in, .pc-cl { background: linear-gradient(180deg, rgba(226,183,255,.36) 0%, rgba(226,183,255,.14) 50%, rgba(226,183,255,.02) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-city-in.is-split { background: none; }
.pc-cl { display: inline-block; padding-right: .1em; margin-right: -.1em; }
/* In the opening, outside the desktop scene (phone, flat document), the
   city takes its OWN band above the kicker. Laid behind it, the two violet
   layers collided. */
.pc-pin .pc-city { position: relative; left: auto; right: auto; margin: 0 0 clamp(4px, 1.2vw, 16px); font-size: min(calc(112vw / var(--len, 5)), 40vh); }

/* ============================================================ SCENE ==== */
.pc-scene { position: relative; }
/* The last 16% fades to the page ground (the top layer), so no lit band
   is cut straight by the section edge; the side glow sits higher. */
.pc-pin { position: relative; overflow: clip; padding: calc(var(--mast-h) + 22px) 0 80px;
  background:
    linear-gradient(180deg, rgba(11,8,18,0) 84%, #0b0812 100%),
    radial-gradient(55% 62% at 68% 54%, rgba(88,36,142,.55) 0%, rgba(55,18,94,.26) 42%, rgba(11,8,18,0) 72%),
    radial-gradient(60% 48% at 0% 70%, rgba(55,18,94,.30) 0%, rgba(11,8,18,0) 62%),
    linear-gradient(180deg, #0b0812 0%, #130a24 58%, #0b0812 100%); }
.pc-head { position: relative; z-index: 4; padding-inline: var(--spine); }
.pc-stage { position: relative; z-index: 2; padding-inline: var(--spine); margin-top: clamp(28px, 5vh, 56px); }
.pc-shadow, .pc-edge, .pc-hint, .pc-turn { display: none; }

/* ------------------------------------------------------------ the card */
.pc-card { position: relative; display: grid; gap: 28px; max-width: 520px; margin-inline: auto; }
.pc-face { position: relative; border-radius: var(--pc-rad);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 42px 80px -34px rgba(0,0,0,.85), 0 14px 30px -14px rgba(0,0,0,.6); }
.pc-face-in { position: relative; height: 100%; border-radius: var(--pc-rad); overflow: hidden; clip-path: inset(0 round var(--pc-rad));
  background: linear-gradient(165deg, #fdfcf9 0%, var(--pc-stock) 50%, var(--pc-stock-dp) 100%); color: var(--pc-ink);
  container-type: inline-size;
  --u: calc(var(--pc-fw) / 100); }
@supports (width: 1cqi) { .pc-face-in { --u: 1cqi; } }
.pc-lay { position: relative; height: 100%; display: flex; flex-direction: column; }

/* lights. The sheen follows the pointer (GSAP moves it); the shade darkens
   a side as it turns edge-on (GSAP fades it). On the written side the
   sheen rests at a tenth of white: at full strength it washed a pale band
   across the message, as if the words had not finished fading in. */
.pc-sheen { position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,0) 32%, rgba(255,255,255,.26) 45%, rgba(255,255,255,.08) 53%, rgba(255,255,255,0) 62%); }
.pc-back .pc-sheen { opacity: .38; }
.pc-shade { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(12,6,24,.72) 0%, rgba(12,6,24,.38) 100%); }

/* ---------------------------------------------------- the picture side
   Phone: photograph on top at its own shape (--ar), the caption and the
   city set big on the paper under it. */
.pc-photo { position: relative; flex: none; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: #221a2e; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
/* the print's gloss coat: a fixed highlight, never animated */
.pc-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(158deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 34%), linear-gradient(0deg, rgba(0,0,0,.10), rgba(0,0,0,0) 30%); }
.pc-front-panel { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: calc(5 * var(--u));
  padding: calc(5 * var(--u)) calc(6 * var(--u)) calc(5.5 * var(--u)); }
.pc-front-city { order: 2; margin: 0; font-family: var(--display); font-weight: 800; line-height: .82; letter-spacing: -.06em; color: var(--pc-ink-violet);
  font-size: min(calc(25 * var(--u)), calc(168 * var(--u) / var(--len, 5))); }
.pc-front-cap { order: 1; margin: 0; display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); font-family: var(--mono); font-weight: 500;
  font-size: max(10px, calc(2.9 * var(--u))); letter-spacing: .12em; text-transform: uppercase; color: var(--pc-ink-2); }

/* ----------------------------------------------------- the written side
   Phone: message, a rule, then the address beside the stamp, the postmark
   pressed over the stamp's foot. */
.pc-back .pc-lay { padding: calc(7 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)); }
.pc-msg { display: flex; flex-direction: column; }
.pc-back-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 calc(5 * var(--u)); font-family: var(--mono); font-weight: 500;
  font-size: max(9.5px, calc(2.7 * var(--u))); letter-spacing: .2em; text-transform: uppercase; color: var(--pc-ink-violet); }
.pc-back-head span:last-child { color: var(--pc-ink-2); }
.pc-text p { margin: 0 0 .8em; font-family: var(--body); font-size: min(16px, calc(4 * var(--u))); line-height: 1.5; color: #24202e; text-wrap: pretty; }
.pc-text p:last-child { margin-bottom: 0; }
.pc-sign { display: block; align-self: flex-start; width: auto; height: calc(7.5 * var(--u)); aspect-ratio: 700 / 295; margin-top: calc(4.5 * var(--u)); color: var(--pc-ink-violet); }
.pc-divider { position: relative; display: block; height: 1px; margin: calc(5.5 * var(--u)) 0 calc(5 * var(--u)); background: var(--pc-rule); }
.pc-divider span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 calc(2.4 * var(--u)); background: var(--pc-stock);
  font-family: var(--mono); font-size: max(9px, calc(2.3 * var(--u))); letter-spacing: .16em; text-transform: uppercase; color: #9a95aa; white-space: nowrap; }
.pc-post { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) calc(30 * var(--u)); column-gap: calc(5 * var(--u)); align-items: start; }

/* the stamp: his invitation, on perforated stamp paper. The holes are a
   background (Temani Afif's stamp), not a mask, so nothing is composited. */
.pc-stamp { --r: max(2.5px, calc(.9 * var(--u))); grid-column: 2; grid-row: 1; margin: 0; padding: calc(var(--r) * 2.4); transform: rotate(3deg);
  background:
    radial-gradient(var(--r), #0000 97%, #fff) round calc(var(--r) * -1.5) calc(var(--r) * -1.5) / calc(var(--r) * 3) calc(var(--r) * 3),
    linear-gradient(#fff 0 0) no-repeat 50% / calc(100% - var(--r) * 3) calc(100% - var(--r) * 3);
  filter: drop-shadow(0 1px 1.5px rgba(30,16,50,.28)); }
.pc-stamp img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: var(--stamp-focus, 50% 50%); }

/* the postmark: violet ink, drawn in by the script. Small and crisp: the
   one period cue on the card. The waves show on the wide card only. */
.pc-postmark { position: absolute; z-index: 2; overflow: visible; pointer-events: none; color: var(--pc-ink-violet); }
.pc-back .pc-postmark { width: calc(66 * var(--u)); left: calc(59.4 * var(--u)); top: calc(21 * var(--u));
  transform: rotate(-7deg); }
.pc-back .pc-pm-waves { display: none; }
.pc-pm-line, .pc-pm-waves path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.pc-pm-thin { stroke-width: 1.5; }
.pc-pm-bar { stroke-width: 1.4; }
.pc-pm-waves path { stroke-width: 2.3; }
.pc-pm-ring, .pc-pm-mid { fill: currentColor; font-family: var(--mono); font-weight: 500; }
.pc-pm-ring { font-size: 11.5px; }
.pc-pm-mid { font-size: 11px; letter-spacing: .1em; }
.pc-pm-dot { fill: currentColor; }
.pc-postmark > * { opacity: .9; }

/* the address: the facts, on ruled lines. Shared look; the card's sizes
   are scoped to .pc-back (the close has its own dark list). */
.pc-addr { margin: 0; display: grid; }
.pc-addr > div { display: grid; border-top: 1px solid var(--pc-rule); }
.pc-addr > div:last-child { border-bottom: 1px solid var(--pc-rule); }
.pc-addr dt { font-family: var(--mono); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #8a84a0; }
.pc-addr dd { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: var(--pc-ink); }
.pc-back .pc-addr { grid-column: 1; grid-row: 1; }
.pc-back .pc-addr > div { gap: calc(.6 * var(--u)); padding: calc(2.2 * var(--u)) 0 calc(2 * var(--u)); }
.pc-back .pc-addr dt { font-size: max(9px, calc(2.5 * var(--u))); }
.pc-back .pc-addr dd { font-size: min(17px, calc(4.3 * var(--u))); }

/* ===================================================== THE WIDE CARD ==
   From 901px the card is a real 3:2 postcard. */
@media (min-width: 901px) {
  .pc { --pc-fw: min(100vw - 2 * var(--spine), 980px); }
  .pc-card { max-width: 980px; }
  .pc-front { aspect-ratio: 3 / 2; }
  .pc-front .pc-face-in { position: absolute; inset: 0; height: auto; }

  /* FULL-BLEED picture side: the photograph printed to a thin white edge,
     the caption on a strip under it. */
  .pc-front .pc-lay { padding: calc(1.15 * var(--u)) calc(1.15 * var(--u)) 0; }
  .pc-front .pc-photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; border-radius: 2px; }
  .pc-front .pc-front-panel { flex: none; gap: 0; padding: 0 calc(.4 * var(--u)); height: calc(4.6 * var(--u)); justify-content: center; }
  .pc-front .pc-front-city { display: none; }
  .pc-front .pc-front-cap { flex-direction: row; justify-content: space-between; gap: calc(2 * var(--u)); font-size: max(9px, calc(1.2 * var(--u))); letter-spacing: .16em; }

  /* THE WEAK-SOURCE RULE: data-front="print". A small or portrait source
     is never stretched across the card. It is a mounted print, at a size
     it can hold, on a violet field printed to the card's white edge; the
     city fills the rest of the field, stacked in fading echoes up to its
     full height, so no area of the card is emptier than the print. */
  .pc-front[data-front="print"] .pc-lay { flex-direction: row; padding: calc(1.15 * var(--u));
    background: radial-gradient(90% 110% at 78% 8%, #6b33a6 0%, #4b1e78 42%, #2a0d49 100%) content-box; }
  .pc-front[data-front="print"] .pc-photo { flex: none; align-self: center; height: calc(100% - 7.6 * var(--u)); aspect-ratio: var(--print-ar, 3 / 4); margin-left: calc(3.6 * var(--u));
    border: calc(1.05 * var(--u)) solid #fbfaf6; border-radius: 3px; transform: rotate(-2.2deg);
    box-shadow: 0 calc(1.8 * var(--u)) calc(3.6 * var(--u)) calc(-.8 * var(--u)) rgba(8,3,18,.62), 0 2px 5px rgba(8,3,18,.3); }
  .pc-front[data-front="print"] .pc-front-panel { flex: 1 1 0; min-width: 0; height: auto; gap: 0; justify-content: space-between;
    padding: calc(3.6 * var(--u)) calc(3.2 * var(--u)) calc(3.4 * var(--u)) calc(4.4 * var(--u)); }
  .pc-front[data-front="print"] .pc-front-cap { order: 1; position: relative; z-index: 1; flex-direction: column; gap: calc(.9 * var(--u));
    font-size: max(9px, calc(1.25 * var(--u))); color: rgba(242,237,248,.7); }
  .pc-front[data-front="print"] .pc-front-cap span:first-child { color: #fff; }
  .pc-front[data-front="print"] .pc-front-city { display: block; order: 2; white-space: nowrap; text-transform: uppercase; letter-spacing: -.05em; line-height: .8; color: #f7f1ff;
    font-size: min(calc(17 * var(--u)), calc(64 * var(--u) / var(--len, 5)));
    text-shadow: 0 -.8em 0 rgba(226,183,255,.38), 0 -1.6em 0 rgba(226,183,255,.2), 0 -2.4em 0 rgba(226,183,255,.1), 0 -3.2em 0 rgba(226,183,255,.05), 0 -4em 0 rgba(226,183,255,.025); }

  /* the written side, laid out as a real postcard: message left of a
     vertical rule, stamp top right, the postmark beside it, the address
     at the foot */
  .pc-back .pc-lay { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, .8fr); column-gap: calc(3.4 * var(--u));
    padding: calc(4.2 * var(--u)) calc(4.2 * var(--u)) calc(3.8 * var(--u)) calc(4.8 * var(--u)); }
  .pc-back-head { font-size: max(9px, calc(1.2 * var(--u))); margin-bottom: calc(2.6 * var(--u)); }
  .pc-text { margin-bottom: calc(2 * var(--u)); }
  .pc-text p { font-size: max(12.5px, calc(1.95 * var(--u))); line-height: 1.5; }
  .pc-sign { height: calc(3.6 * var(--u)); margin-top: auto; }
  /* ⚠ The label runs vertically, and on a vertical line cqi measures the
     container's HEIGHT axis, which an inline-size container does not
     provide, so it falls back to the window height (28px on a tall
     window). Size it on the horizontal parent and inherit; pad in em. */
  .pc-divider { width: 1px; height: auto; margin: 0; font-size: max(8.5px, calc(1.05 * var(--u))); }
  .pc-divider span { writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); padding: 1.5em 0; font-size: inherit; }
  .pc-post { display: block; }
  .pc-back .pc-stamp { --r: max(2.5px, calc(.42 * var(--u))); position: absolute; top: calc(.2 * var(--u)); right: calc(.4 * var(--u)); width: calc(19 * var(--u)); }
  .pc-back .pc-postmark { width: calc(33 * var(--u)); left: calc(3.2 * var(--u)); top: calc(5.6 * var(--u)); }
  .pc-back .pc-pm-waves { display: inline; }
  .pc-back .pc-addr { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
  .pc-back .pc-addr > div { gap: calc(.35 * var(--u)); padding: calc(.95 * var(--u)) 0 calc(.9 * var(--u)); }
  .pc-back .pc-addr dt { font-size: max(8.5px, calc(1.1 * var(--u))); }
  .pc-back .pc-addr dd { font-size: max(12px, calc(2.05 * var(--u))); }

  /* the flat document (no script, reduced motion) reads at a comfortable size */
  .pc:not(.pc-3d) .pc-text p { font-size: max(13.5px, calc(1.95 * var(--u))); }
  .pc:not(.pc-3d) .pc-back .pc-lay { min-height: calc(var(--pc-fw) / 1.5); }
}
/* the flat document from 1100px: the two sides of the card next to each
   other, not one over the other in a narrow column */
@media (min-width: 1100px) {
  .pc { --pc-fw: calc((min(100vw - 2 * var(--spine), 1200px) - 28px) / 2); }
  .pc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1200px; align-items: start; }
}

/* =================================================== DESKTOP: .pc-3d ====
   One pinned scene. The section is 260vh; the pin is sticky for 160vh.
   The card is sized by width with a height ceiling, so it holds his
   1270x680 laptop with the masthead above it. */
.pc-3d .pc-scene { height: 260vh; }
.pc-3d .pc-pin { position: sticky; top: 0; height: 100vh; min-height: 560px; padding: 0;
  /* the card starts after a title column (40% of the page column) and runs
     to near the screen edge, capped by the height so it holds 680 */
  --pc-left: calc(var(--spine) + (100vw - 2 * var(--spine)) * .40);
  --pc-right: max(3vw, var(--spine) * .5);
  --pc-w: min(100vw - var(--pc-right) - var(--pc-left), (100vh - 200px) * 1.5, 1100px);
  --pc-fw: var(--pc-w);
  --pc-top: calc(50% + 38px - var(--pc-w) / 3); }
/* the city stands over the title, fitted by the script to the room left of
   the card where the card ends up after it turns (the flat card reaches
   further left than the tilted one) */
.pc-3d .pc-pin .pc-city { position: absolute; top: calc(var(--mast-h) + 2vh); left: var(--spine); right: auto; margin: 0; text-align: left; }
.pc-3d .pc-pin .pc-city-in { padding-left: 0; margin-left: -.04em; }
.pc-3d .pc-head { position: absolute; left: var(--spine); bottom: max(50% - 38px - var(--pc-w) / 3, 48px); padding: 0; transform-origin: 0 100%; }
.pc-3d .pc-h1 { font-size: clamp(80px, min((100vw - 2 * var(--spine)) * .1, 16.5vh), 150px); }
.pc-3d .pc-ln { overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.pc-3d .pc-stage { position: absolute; inset: 0; margin: 0; padding: 0; perspective: 1700px; perspective-origin: 64% 48%; pointer-events: none; }
.pc-3d .pc-deal { position: absolute; top: var(--pc-top); right: var(--pc-right); width: var(--pc-w); aspect-ratio: 3 / 2; pointer-events: auto; }
.pc-3d .pc-deal, .pc-3d .pc-float, .pc-3d .pc-tilt, .pc-3d .pc-card { transform-style: preserve-3d; }
.pc-3d .pc-float, .pc-3d .pc-tilt, .pc-3d .pc-card { position: absolute; inset: 0; }
.pc-3d .pc-card { display: block; max-width: none; }
.pc-3d .pc-face, .pc-flip .pc-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pc-3d .pc-face { position: absolute; inset: 0; aspect-ratio: auto; }
.pc-3d .pc-face-in { position: absolute; inset: 0; height: auto; }
.pc-3d .pc-front, .pc-flip .pc-front { transform: translateZ(1.5px); }
.pc-3d .pc-back, .pc-flip .pc-back { transform: rotateY(180deg) translateZ(1.5px); }
/* the card's thickness, seen only edge-on */
.pc-3d .pc-edge, .pc-flip .pc-edge { display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; transform: rotateY(90deg);
  background: linear-gradient(180deg, #efece4, #cfc9bb); border-radius: 2px; }
/* the card's shadow on the table (flat, under the 3D) */
.pc-3d .pc-shadow { display: block; position: absolute; z-index: 0; right: calc(var(--pc-right) + var(--pc-w) * .04); width: calc(var(--pc-w) * .92); height: calc(var(--pc-w) * .2);
  top: calc(var(--pc-top) + var(--pc-w) * .6); }
.pc-shadow i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(3,1,8,.78) 0%, rgba(3,1,8,.4) 52%, rgba(3,1,8,0) 100%); }
.pc-3d .pc-hint { display: block; position: absolute; right: var(--pc-right); width: var(--pc-w); bottom: max(14px, 2.4vh); z-index: 5; margin: 0; text-align: center; pointer-events: none; }
.pc-hint > span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--chalk-dim); }
.pc-hint i { position: relative; width: 1px; height: 26px; background: rgba(242,237,248,.22); overflow: hidden; }
.pc-hint i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--violet-lt); animation: pc-drip 1.8s var(--ease-in-out) infinite; }
@keyframes pc-drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }
/* 901–1100 (a 1024 laptop): a narrower title column and a smaller title,
   so the card is wide enough for its message to read (about 13px). */
@media (max-width: 1100px) {
  .pc-3d .pc-pin { --pc-left: calc(var(--spine) + (100vw - 2 * var(--spine)) * .29); }
  .pc-3d .pc-h1 { font-size: clamp(64px, 8vw, 88px); }
  /* the kicker wraps in its column rather than running under the card */
  .pc-3d .pc-head .pc-kick { max-width: calc(var(--pc-left) - var(--spine) - 24px); text-wrap: balance; line-height: 1.7; }
}

/* ===================================================== PHONE: .pc-flip ==
   No pin. The card sits full width, a little askew on the table with its
   shadow under it, its two sides stacked in one grid cell (so it is as
   tall as the taller side), and turns once as it comes into view; the
   button turns it either way. */
.pc-flip .pc-stage { perspective: 1400px; }
.pc-flip .pc-deal, .pc-flip .pc-float, .pc-flip .pc-tilt { transform-style: preserve-3d; }
.pc-flip .pc-deal { position: relative; z-index: 1; }
.pc-flip .pc-card { transform-style: preserve-3d; display: grid; gap: 0; cursor: pointer; }
.pc-flip .pc-face { grid-area: 1 / 1; display: flex; }
.pc-flip .pc-face-in { flex: 1 1 auto; }
.pc-flip .pc-ln { overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.pc-flip .pc-shadow { display: block; position: absolute; z-index: 0; left: calc(var(--spine) + 3%); right: calc(var(--spine) + 3%); bottom: -26px; height: 64px; }
.pc-flip .pc-turn { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 34px auto 0; min-height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(242,237,248,.3); background: rgba(242,237,248,.06); color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.pc-turn-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ======================================================= THE SECOND CARD */
.pc-more { position: relative; min-height: 100vh; display: flex; align-items: center; padding: clamp(72px, 10vh, 150px) 0 clamp(56px, 8vh, 120px);
  background: radial-gradient(46% 58% at 74% 52%, rgba(88,36,142,.42) 0%, rgba(11,8,18,0) 72%), var(--pc-bg); }
.pc-more > .wrap { width: 100%; }
.pc-more-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 96px); }
.pc-more .pc-h2 { max-width: 9.5ch; font-size: clamp(48px, 8.6vw, 150px); line-height: .88; }

/* a print on card stock: photograph, and a caption on the paper under it.
   As tall as the screen allows, so it holds the section on a laptop. */
.pc-print { position: relative; margin: 0; justify-self: center; width: min(100%, 540px, (100vh - 150px) * .72); transform: rotate(4deg); }
.pc-print-in { position: relative; padding: 3.4% 3.4% 0; border-radius: var(--pc-rad); overflow: hidden; clip-path: inset(0 round var(--pc-rad)); background: linear-gradient(165deg, #fdfcf9, var(--pc-stock) 50%, var(--pc-stock-dp));
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset; }
.pc-print::before { content: ''; position: absolute; inset: 0; border-radius: var(--pc-rad); box-shadow: 0 46px 80px -30px rgba(0,0,0,.85), 0 14px 28px -12px rgba(0,0,0,.55); pointer-events: none; }
.pc-print-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: #221a2e; }
.pc-print-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.pc-print-photo video { display: block; width: 100%; height: 100%; object-fit: cover; background: #221a2e; }
.pc-print-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(158deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 34%); }
.pc-print figcaption { display: flex; justify-content: space-between; gap: 14px; white-space: nowrap; padding: 14px 2px 15px; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pc-ink-2); }
.pc-print figcaption span:first-child { color: var(--pc-ink); }

/* ========================================================= THE NEXT STOP */
.pc-next { position: relative; overflow: clip; padding: clamp(100px, 16vh, 200px) 0 clamp(100px, 15vh, 180px);
  background: radial-gradient(50% 60% at 70% 50%, rgba(88,36,142,.36) 0%, rgba(11,8,18,0) 70%), linear-gradient(180deg, var(--pc-bg) 0%, #140a26 55%, var(--pc-bg) 100%); }
/* the next show's city, behind the close, as the opening has its own */
.pc-city--next { top: 50%; transform: translateY(-54%); }
.pc-city--next .pc-city-in { background-image: linear-gradient(180deg, rgba(226,183,255,.2) 0%, rgba(226,183,255,.08) 55%, rgba(226,183,255,.01) 92%); }
.pc-next .wrap { position: relative; z-index: 1; }
.pc-next-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 96px); }
.pc-print--land { width: min(100%, 640px); transform: rotate(-3deg); }
.pc-print--land .pc-print-photo { aspect-ratio: 3 / 2; }
/* a vertical clip (the INC congress films, 464x848): narrower, so it fits one screen */
.pc-print--tall { width: min(100%, 380px, (100vh - 190px) * .52); transform: rotate(3deg); }
.pc-print--tall .pc-print-photo { aspect-ratio: 464 / 848; }
/* the announcement's close has no second card: one column */
.pc-next-grid--solo { grid-template-columns: minmax(0, 1fr); }
.pc-addr dd a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(242,237,248,.35); text-underline-offset: .14em; }
/* on the poster's empty cream beside the SIAL mark, where violet ink reads */
.pc-postmark--next { width: 36%; left: 25.5%; top: 2.5%; transform: rotate(-12deg); }
.pc-postmark--next .pc-pm-waves { display: none; }
.pc-next .pc-h2 { font-size: clamp(48px, 7.4vw, 132px); }
.pc-addr--dark { margin: clamp(26px, 3.4vw, 44px) 0 0; max-width: 460px; }
.pc-addr--dark > div { padding: 12px 0 11px; gap: 4px; border-color: rgba(242,237,248,.14); }
.pc-addr--dark > div:last-child { border-bottom-color: rgba(242,237,248,.14); }
.pc-addr--dark dt { font-size: 10.5px; color: var(--violet-lt); }
.pc-addr--dark dd { font-size: clamp(18px, 1.6vw, 24px); color: #fff; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.pc-btn-ghost { border-color: rgba(242,237,248,.42); color: #fff; }
.pc-btn-ghost::before { background: var(--chalk); }
.pc-btn-ghost:hover, .pc-btn-ghost:focus-visible { color: var(--violet-dp); }
.pc :focus-visible { outline-color: #fff; }

/* ================================================================ PHONE */
@media (max-width: 900px) {
  .pc-more { min-height: 0; }
  .pc-more-grid, .pc-next-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-more .pc-h2 { max-width: none; }
  .pc-print { width: min(84%, 400px); margin-top: 8px; }
  .pc-print--land { width: 100%; }
  .pc-next .pc-print--land { order: -1; margin-bottom: 18px; }
  /* under the buttons, in the close's own dark, not behind the poster */
  .pc-city--next { top: auto; bottom: 10px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-hint i::after { animation: none; }
}
