/* AIMERICA 3D phone (draft, 28 Nov 2026). Drawn in CSS only: a stack of rounded layers gives the body its thickness.
   No image, no library. Complete and still without script; it turns into view once and leans a little to the pointer. */
.hero-top.has-ph3d { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.hero-top.has-ph3d > * { grid-column: 1; }
.hero-top.has-ph3d > .ph3d-fig { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.hero-top.has-ph3d h1, .hero-top.has-ph3d .hero-big { font-size: clamp(2rem, 3.9vw, 3.5rem); }
.ph3d-fig { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: center; justify-content: center; }
.ph3d-scene { perspective: 1500px; perspective-origin: 50% 40%; padding: 18px 26px 34px; position: relative; }
.ph3d-scene::after { content: ""; position: absolute; left: 8%; right: 0; bottom: 6px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
.ph3d { --w: 236px; --h: 486px; --r: 36px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(calc(7deg + var(--px, 0deg))) rotateY(calc(-24deg + var(--py, 0deg))) rotateZ(1.5deg); transition: transform .5s cubic-bezier(.16, 1, .3, 1); animation: ph3d-in 1.5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ph3d-in { from { transform: rotateX(14deg) rotateY(-68deg) rotateZ(4deg) translateY(24px); opacity: 0; } }
.ph3d > i, .ph3d-face { position: absolute; inset: 0; border-radius: var(--r); }
.ph3d > i { background: #1a2c49; border: 1px solid #2c456e; }
.ph3d > i:nth-child(1) { transform: translateZ(-7px); background: #0c1626; }
.ph3d > i:nth-child(2) { transform: translateZ(-5px); } .ph3d > i:nth-child(3) { transform: translateZ(-3px); }
.ph3d > i:nth-child(4) { transform: translateZ(-1px); } .ph3d > i:nth-child(5) { transform: translateZ(1px); }
.ph3d > i:nth-child(6) { transform: translateZ(3px); } .ph3d > i:nth-child(7) { transform: translateZ(5px); }
.ph3d-face { transform: translateZ(7px); background: #050a14; border: 1px solid #36507c; padding: 9px; overflow: hidden; }
.ph3d-screen { position: relative; height: 100%; border-radius: calc(var(--r) - 9px); background: linear-gradient(180deg, #0a1426, #050a14 55%); overflow: hidden; display: flex; flex-direction: column; color: var(--text); font-family: var(--sans); }
.ph3d-screen::before { content: ""; position: absolute; left: 50%; top: 8px; width: 64px; height: 17px; margin-left: -32px; border-radius: 10px; background: #000; }
.ph3d-status { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 0; font: 600 .66rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.ph3d-status span:last-child { display: flex; gap: 2px; align-items: flex-end; height: 9px; }
.ph3d-status b { width: 3px; border-radius: 1px; background: var(--text); }
.ph3d-status b:nth-child(1) { height: 3px; } .ph3d-status b:nth-child(2) { height: 5px; } .ph3d-status b:nth-child(3) { height: 7px; } .ph3d-status b:nth-child(4) { height: 9px; }
.ph3d-head { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 14px 10px; border-bottom: 1px solid var(--rule); }
.ph3d-head b { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: .92rem; }
.ph3d-head span { font-size: .64rem; color: var(--text-3); }
.ph3d-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.ph3d-list li { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.ph3d-list .k { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .52rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ph3d-list .t { font-size: .72rem; font-weight: 600; line-height: 1.3; }
.ph3d-list .d { font-size: .66rem; line-height: 1.4; color: var(--text-2); }
.ph3d-list li.new { background: var(--cyan-soft); }
.ph3d-list li.new .k span:first-child { color: var(--cyan); }
.ph3d-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 9px 8px 14px; border-top: 1px solid var(--rule-2); font-size: .6rem; font-weight: 600; text-align: center; color: var(--text-3); }
.ph3d-tabs span:first-child { color: var(--text); }
.ph3d-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 250px; }
.ph3d-notes li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 10px; padding: 11px 13px; border: 1px solid var(--rule-2); border-radius: 10px; background: #0b1628; animation: ph3d-note .7s cubic-bezier(.16, 1, .3, 1) both; }
.ph3d-notes li:nth-child(1) { animation-delay: 1.2s; } .ph3d-notes li:nth-child(2) { animation-delay: 2s; } .ph3d-notes li:nth-child(3) { animation-delay: 2.8s; }
@keyframes ph3d-note { from { opacity: 0; transform: translateX(-18px); } }
.ph3d-notes svg { width: 14px; height: 14px; margin-top: 3px; color: var(--cyan); }
.ph3d-notes b { font-size: .9rem; font-weight: 600; color: var(--text); }
.ph3d-notes span { grid-column: 2; font-size: .8rem; line-height: 1.4; color: var(--text-2); }
.ph3d-fig figcaption { grid-column: 1 / -1; text-align: center; font-size: .8rem; color: var(--text-3); line-height: 1.5; }
@media (max-width: 1180px) {
  .hero-top.has-ph3d { grid-template-columns: 1fr; }
  .hero-top.has-ph3d > .ph3d-fig { grid-column: 1; grid-row: auto; margin-top: 30px; justify-content: start; }
}
@media (max-width: 700px) {
  .ph3d-fig { grid-template-columns: 1fr; justify-items: center; }
  .ph3d { --w: 204px; --h: 420px; --r: 32px; }
  .ph3d-notes { max-width: none; width: 100%; }
  .ph3d-fig figcaption { text-align: left; }
  .p26 .hero:has(.console) .hero-top.has-ph3d > .ph3d-fig { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .ph3d, .ph3d-notes li { animation: none; } .ph3d { transition: none; } }

/* an incoming call in the app (mobile-app calls cleared by the owner, 28 Nov 2026) */
.ph3d-call { display: grid; gap: 4px; margin: 10px 10px 4px; padding: 10px 11px 11px; border: 1px solid var(--cyan-line); border-radius: 12px; background: #0d2a42; }
.ph3d-call .k { font-size: .56rem; font-weight: 600; color: var(--cyan); }
.ph3d-call .n { font-family: var(--mono); font-size: .86rem; color: var(--text); }
.ph3d-call .keys { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 5px; }
.ph3d-call .keys span { padding: 7px 0; border-radius: 100px; text-align: center; font-size: .66rem; font-weight: 600; }
.ph3d-call .no { border: 1px solid var(--rule-2); color: var(--text); }
.ph3d-call .yes { background: var(--cyan); color: var(--cyan-ink); }

/* ---- the screen redrawn from the real mobile app (screens taken 28 Nov 2026): three states in turn ---- */
.apx { background: #0b1220; --ab: #2563eb; --at: #38bdf8; --am: #93a3bb; --al: rgba(148, 163, 184, .16); font-size: 10px; }
.apx-panes { position: relative; flex: 1; }
.apx-pane { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0b1220; animation: apx-turn 15s linear infinite; }
.apx-pane:nth-child(2) { animation-delay: -10s; } .apx-pane:nth-child(3) { animation-delay: -5s; }
@keyframes apx-turn { 0%, 30% { opacity: 1; } 33.3%, 96.7% { opacity: 0; } 100% { opacity: 1; } }
.apx-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 9px; background: #111c33; border-bottom: 1px solid var(--al); }
.apx-top b { font-size: 1.05em; font-weight: 600; }
.apx-user { justify-self: start; padding: 2px 7px; border-radius: 100px; background: rgba(148, 163, 184, .16); font-size: .82em; }
.apx-dots { justify-self: end; display: flex; gap: 2px; } .apx-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--am); }
.apx-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 9px; border-bottom: 1px solid var(--al); }
.apx-h b { display: block; font-size: 1.15em; } .apx-h small { color: var(--am); font-size: .85em; }
.apx-new { padding: 5px 9px; border-radius: 6px; background: var(--ab); color: #fff; font-weight: 700; font-size: .9em; }
.apx-pills, .apx-sub { display: flex; gap: 4px; padding: 6px 9px 0; white-space: nowrap; overflow: hidden; }
.apx-pills span { padding: 3px 8px; border: 1px solid var(--al); border-radius: 100px; font-weight: 600; font-size: .86em; }
.apx-pills .on { background: var(--ab); border-color: var(--ab); color: #fff; }
.apx-sub { padding-bottom: 6px; } .apx-sub span { padding: 3px 7px; color: var(--am); font-weight: 600; font-size: .86em; } .apx-sub .on { color: #fff; border: 1px solid var(--al); border-radius: 5px; }
.apx-msgs, .apx-recs { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; }
.apx-msgs li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 7px; padding: 7px 9px; border-bottom: 1px solid var(--al); position: relative; }
.apx-msgs li.un { background: #111c33; } .apx-msgs li.un::after { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--ab); }
.apx .av { width: 24px; height: 24px; border-radius: 50%; background: #17284a; color: #7fb0ff; font-weight: 700; font-size: .78em; display: grid; place-content: center; }
.apx .b { display: grid; gap: 1px; min-width: 0; }
.apx .n { display: flex; justify-content: space-between; gap: 6px; } .apx .n b { font-size: 1em; } .apx .n span { color: var(--am); font-size: .8em; padding-right: 12px; }
.apx .num { color: var(--am); font-size: .84em; }
.apx .pv { font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.apx .tg { display: flex; gap: 4px; margin-top: 2px; } .apx .tg span { padding: 1px 5px; border: 1px solid var(--al); border-radius: 4px; color: var(--am); font-size: .72em; font-weight: 600; white-space: nowrap; }
.apx .tg .ai { color: #c4b5fd; border-color: rgba(167, 139, 250, .5); }
.apx-search { margin: 7px 9px 0; padding: 6px 10px; border-radius: 100px; background: rgba(148, 163, 184, .14); color: var(--am); font-size: .9em; }
.apx-recs { margin-top: 6px; border-top: 1px solid var(--al); }
.apx-recs li { display: grid; grid-template-columns: minmax(0, 1fr) auto 13px; gap: 7px; align-items: center; padding: 7px 9px; border-bottom: 1px solid var(--al); }
.apx-recs b { font-weight: 500; font-size: 1.08em; } .apx-recs .miss b { color: #f05252; } .apx-recs .tm { color: var(--am); font-size: .84em; }
.apx .inf { width: 13px; height: 13px; border: 1px solid var(--at); border-radius: 50%; color: var(--at); font-size: .72em; font-weight: 700; display: grid; place-content: center; }
.apx-call { flex: 1; display: grid; justify-items: center; align-content: center; gap: 4px; padding: 10px; text-align: center; }
.apx .av.big { width: 54px; height: 54px; font-size: 1.5em; margin-bottom: 6px; }
.apx-call b { font-size: 1.5em; } .apx-call .st { margin-top: 4px; color: var(--at); font-weight: 600; font-variant-numeric: tabular-nums; }
.apx-keys { display: flex; gap: 8px; margin-top: 16px; } .apx-keys span { width: 50px; padding: 13px 0; border-radius: 12px; background: rgba(148, 163, 184, .14); font-size: .82em; font-weight: 600; }
.apx-end { margin-top: 12px; padding: 9px 26px; border-radius: 100px; background: #dc2626; color: #fff; font-weight: 700; }
.apx-tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 2px 11px; background: #111c33; border-top: 1px solid var(--al); text-align: center; color: var(--am); font-size: .68em; }
.apx-tabs span { display: grid; justify-items: center; gap: 2px; } .apx-tabs svg { width: 14px; height: 14px; } .apx-tabs .on { color: var(--at); }
@media (max-width: 700px) { .apx { font-size: 8.7px; } }
@media (prefers-reduced-motion: reduce) { .apx-pane { animation: none; opacity: 0; } .apx-pane:first-child { opacity: 1; } }

/* ---- round 4 (28 Nov 2026): the rig turns as one; lock-screen style notifications arrive around the phone ---- */
.hero:has(.ph3d-fig) { overflow-x: clip; }
.ph3d-fig { display: block; }
.ph3d-scene { width: min(100%, 470px); margin: 0 auto; padding: 34px 0 44px; perspective: 1300px; }
.ph3d-rig { position: relative; width: var(--w, 236px); margin: 0 auto; transform-style: preserve-3d; transform: rotateX(calc(7deg + var(--px, 0deg))) rotateY(calc(-22deg + var(--py, 0deg))) rotateZ(1.5deg); animation: ph3d-in 1.5s cubic-bezier(.16, 1, .3, 1) both; will-change: transform; }
.ph3d-rig { --w: 236px; }
.ph3d { transform: none; animation: none; transition: none; }
.ph3d-notes { position: absolute; inset: 0; max-width: none; display: block; transform-style: preserve-3d; pointer-events: none; }
.ph3d-notes li { position: absolute; width: 214px; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 12px 11px; border: 1px solid rgba(190, 215, 255, .22); border-radius: 16px; background: rgba(28, 44, 74, .78); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8); animation: ph3d-pop .7s cubic-bezier(.16, 1, .3, 1) both; }
@supports (backdrop-filter: blur(1px)) { .ph3d-notes li { background: rgba(28, 44, 74, .58); backdrop-filter: blur(14px) saturate(140%); } }
.ph3d-notes .n1 { left: -128px; top: 54px; transform: translateZ(64px); animation-delay: 1.3s; }
.ph3d-notes .n2 { right: -136px; top: 196px; transform: translateZ(96px); animation-delay: 2.2s; }
.ph3d-notes .n3 { left: -112px; bottom: 58px; transform: translateZ(44px); animation-delay: 3.1s; }
@keyframes ph3d-pop { from { opacity: 0; scale: .78; translate: 0 16px; } }
.ph3d-notes .hd { display: grid; grid-template-columns: 18px 1fr auto; gap: 7px; align-items: center; margin-bottom: 3px; font-size: .68rem; color: #c3d0e4; letter-spacing: .02em; }
.ph3d-notes .hd i { width: 18px; height: 18px; border-radius: 5px; background: var(--cyan); color: var(--cyan-ink); font: 800 .7rem/18px var(--display); font-style: normal; text-align: center; }
.ph3d-notes .hd time { color: #9fb0c8; }
.ph3d-notes b { font-size: .86rem; font-weight: 600; color: #fff; }
.ph3d-notes .ln { grid-column: auto; font-size: .78rem; line-height: 1.35; color: #d5deec; }
.ph3d-notes svg { display: none; }
.ph3d-fig figcaption { margin-top: 4px; }
@media (hover: none), (pointer: coarse) { .ph3d-rig { animation: ph3d-in 1.5s cubic-bezier(.16, 1, .3, 1) both, ph3d-sway 9s ease-in-out 1.6s infinite alternate; } }
@keyframes ph3d-sway { from { transform: rotateX(7deg) rotateY(-26deg) rotateZ(1.5deg); } to { transform: rotateX(4deg) rotateY(-8deg) rotateZ(.5deg); } }
@media (max-width: 700px) {
  .ph3d-rig { --w: 204px; }
  .ph3d-scene { padding: 26px 0 38px; }
  .ph3d-notes li { width: 172px; padding: 8px 10px 9px; border-radius: 14px; }
  .ph3d-notes .n1 { left: -62px; top: 40px; } .ph3d-notes .n2 { right: -66px; top: 168px; } .ph3d-notes .n3 { left: -54px; bottom: 46px; }
  .ph3d-notes b { font-size: .8rem; } .ph3d-notes .ln { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { .ph3d-rig, .ph3d-notes li { animation: none !important; } }
.ph3d-notes li > *, .ph3d-notes li span { grid-column: auto; }
.ph3d-notes li > * { grid-column: 1; min-width: 0; }

/* ---- round 5 (28 Nov 2026): the cards sit outside the phone and only touch its edge ---- */
.ph3d-notes li { width: 192px; }
.ph3d-notes .n1 { left: -176px; right: auto; top: 62px; }
.ph3d-notes .n2 { right: -176px; left: auto; top: 204px; }
.ph3d-notes .n3 { left: -176px; right: auto; bottom: 66px; }
@media (max-width: 700px) {
  .ph3d-scene { width: 100%; }
  .ph3d-rig { --w: 176px; margin: 0 0 0 4px; }
  .ph3d { --w: 176px; --h: 364px; --r: 28px; }
  .apx { font-size: 7.5px; }
  .ph3d-notes li { width: 172px; }
  .ph3d-notes .n1, .ph3d-notes .n2, .ph3d-notes .n3 { left: auto; right: -158px; bottom: auto; }
  .ph3d-notes .n1 { top: 34px; } .ph3d-notes .n2 { top: 142px; } .ph3d-notes .n3 { top: 238px; }
}

/* ---- round 6 (28 Nov 2026): the cards float in the air in front of the phone, each at its own depth ---- */
.ph3d-notes li { box-shadow: 0 26px 34px -18px rgba(0, 0, 0, .85); }
.ph3d-notes .n1 { transform: translateZ(120px); left: -196px; top: 54px; }
.ph3d-notes .n2 { transform: translateZ(210px); right: -214px; top: 214px; }
.ph3d-notes .n3 { transform: translateZ(70px); left: -186px; bottom: 60px; }
.ph3d-notes li > * { animation: ph3d-float 7s ease-in-out infinite alternate; }
.ph3d-notes .n2 > * { animation-duration: 9s; animation-delay: -3s; }
.ph3d-notes .n3 > * { animation-duration: 8s; animation-delay: -5s; }
@keyframes ph3d-float { from { translate: 0 -2px; } to { translate: 0 3px; } }
@media (max-width: 700px) {
  .ph3d-notes li { width: 150px; padding: 7px 9px 8px; }
  .ph3d-notes .n1, .ph3d-notes .n2, .ph3d-notes .n3 { left: auto; bottom: auto; }
  .ph3d-notes .n1 { transform: translateZ(60px); right: -158px; top: 30px; }
  .ph3d-notes .n2 { transform: translateZ(110px); right: -150px; top: 140px; }
  .ph3d-notes .n3 { transform: translateZ(36px); right: -160px; top: 244px; }
  .ph3d-notes b { font-size: .76rem; } .ph3d-notes .ln { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) { .ph3d-notes li > * { animation: none !important; } }
/* round 6, tuned: positions, and a soft shadow of each card lying on the phone's plane */
.ph3d-notes .n1 { left: -178px; } .ph3d-notes .n3 { left: -170px; }
.ph3d-notes .n2 { transform: translateZ(180px); right: -186px; }
.ph3d-notes li.sh { width: 176px; height: 62px; padding: 0; border: 0; border-radius: 30px; background: rgba(0, 0, 0, .55); box-shadow: none; filter: blur(14px); animation: ph3d-pop .7s cubic-bezier(.16, 1, .3, 1) both; backdrop-filter: none; }
.ph3d-notes .s1 { left: -150px; top: 78px; transform: translateZ(9px); animation-delay: 1.3s; }
.ph3d-notes .s2 { right: -140px; top: 244px; transform: translateZ(9px); animation-delay: 2.2s; }
.ph3d-notes .s3 { left: -150px; bottom: 44px; transform: translateZ(9px); animation-delay: 3.1s; }
@media (max-width: 700px) {
  .ph3d-notes .n1 { right: -166px; top: 26px; }
  .ph3d-notes .n2 { transform: translateZ(84px); right: -178px; top: 126px; }
  .ph3d-notes .n3 { right: -168px; top: 262px; left: auto; }
  .ph3d-notes li.sh { width: 130px; height: 50px; left: auto; bottom: auto; }
  .ph3d-notes .s1 { right: -134px; top: 44px; } .ph3d-notes .s2 { right: -128px; top: 150px; } .ph3d-notes .s3 { right: -136px; top: 280px; }
}
.ph3d-notes .n1 { left: -168px; } .ph3d-notes .n2 { right: -200px; }
@media (max-width: 700px) { .ph3d-notes .n1 { left: auto; right: -166px; } .ph3d-notes .n2 { right: -178px; } }

/* ---- round 7 (28 Nov 2026): the phone a little larger ---- */
.ph3d-rig { --w: 264px; }
.ph3d { --w: 264px; --h: 544px; --r: 40px; }
.apx { font-size: 11.2px; }
.ph3d-scene { padding-top: 26px; }
.ph3d-notes .n1 { left: -160px; top: 62px; } .ph3d-notes .n3 { left: -158px; bottom: 70px; } .ph3d-notes .n2 { right: -196px; top: 240px; }
.ph3d-notes .s1 { top: 88px; } .ph3d-notes .s2 { top: 272px; } .ph3d-notes .s3 { bottom: 54px; }
@media (max-width: 700px) {
  .ph3d-rig { --w: 182px; }
  .ph3d { --w: 182px; --h: 376px; --r: 29px; }
  .apx { font-size: 7.8px; }
  .ph3d-notes li:not(.sh) { width: 146px; }
  .ph3d-notes .n1 { left: auto; right: -164px; top: 26px; } .ph3d-notes .n2 { right: -174px; top: 130px; } .ph3d-notes .n3 { left: auto; right: -164px; top: 270px; bottom: auto; }
  .ph3d-notes .s1 { top: 44px; } .ph3d-notes .s2 { top: 154px; } .ph3d-notes .s3 { top: 288px; bottom: auto; }
}
/* round 7, final size: about a fifth larger than round six on a computer */
@media (min-width: 701px) {
  .ph3d-rig { --w: 282px; }
  .ph3d { --w: 282px; --h: 581px; --r: 43px; }
  .apx { font-size: 12px; }
  .ph3d-scene { padding: 20px 0 40px; }
  .ph3d-notes li:not(.sh) { width: 204px; }
  .ph3d-notes .n1 { transform: translateZ(140px); left: -152px; top: 70px; }
  .ph3d-notes .n2 { transform: translateZ(210px); right: -176px; top: 262px; }
  .ph3d-notes .n3 { transform: translateZ(84px); left: -150px; bottom: 78px; }
  .ph3d-notes .s1 { top: 98px; left: -120px; } .ph3d-notes .s2 { top: 296px; right: -120px; } .ph3d-notes .s3 { bottom: 60px; left: -120px; }
}
@media (min-width: 701px) {
  .ph3d-notes .n1 { transform: translateZ(190px); left: -150px; }
  .ph3d-notes .n2 { transform: translateZ(120px); right: -178px; }
  .ph3d-notes .n3 { transform: translateZ(110px); left: -156px; }
}

/* ---- round 8 (28 Nov 2026): the cards hang well in front of the glass and face the viewer, whatever the phone's turn ---- */
@property --px { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --py { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.ph3d-notes li:not(.sh) { --d: 200px; transform: translateZ(var(--d)) rotateZ(-1.5deg) rotateY(calc(22deg - var(--py, 0deg))) rotateX(calc(-7deg - var(--px, 0deg))) !important; transform-origin: 50% 50%; }
.ph3d-notes .n1 { animation-delay: 1.7s; } .ph3d-notes .n2 { animation-delay: 2.5s; } .ph3d-notes .n3 { animation-delay: 3.3s; }
.ph3d-notes .s1 { animation-delay: 1.7s; } .ph3d-notes .s2 { animation-delay: 2.5s; } .ph3d-notes .s3 { animation-delay: 3.3s; }
@media (min-width: 701px) {
  .ph3d-notes .n1 { --d: 300px; left: -96px; top: 64px; }
  .ph3d-notes .n2 { --d: 220px; right: -150px; top: 268px; }
  .ph3d-notes .n3 { --d: 150px; left: -128px; bottom: 84px; }
}
@media (max-width: 700px) {
  .ph3d-notes .n1 { --d: 150px; right: -136px; top: 24px; }
  .ph3d-notes .n2 { --d: 110px; right: -152px; top: 132px; }
  .ph3d-notes .n3 { --d: 70px; right: -150px; top: 268px; }
}
@media (hover: none), (pointer: coarse) { .ph3d-rig { animation: ph3d-in 1.5s cubic-bezier(.16, 1, .3, 1) both, ph3d-sway8 9s ease-in-out 1.6s infinite alternate; } }
@keyframes ph3d-sway8 { from { --py: -6deg; --px: 0deg; } to { --py: 14deg; --px: -3deg; } }
@media (min-width: 701px) { .ph3d-notes .n1 { left: -136px; } .ph3d-notes .n2 { right: -262px; } }
@media (max-width: 700px) {
  .ph3d-notes .n1 { --d: 110px; right: -206px; } .ph3d-notes .n2 { --d: 80px; right: -208px; } .ph3d-notes .n3 { --d: 50px; right: -196px; }
}
@media (min-width: 701px) { .ph3d-notes .n2 { --d: 180px; right: -200px; } }
@media (max-width: 700px) { .ph3d-notes .n3 { right: -212px; } }
/* round 8: nothing between the rig and the cards may flatten the 3D. The entrance no longer animates the rig's opacity
   (an opacity animation, even finished and held, makes the browser paint the rig's children onto one flat sheet). */
@keyframes ph3d-in8 { from { transform: rotateX(14deg) rotateY(-68deg) rotateZ(4deg) translateY(24px); } }
.ph3d-rig { animation: ph3d-in8 1.5s cubic-bezier(.16, 1, .3, 1) both; will-change: auto; }
@media (hover: none), (pointer: coarse) { .ph3d-rig { animation: ph3d-in8 1.5s cubic-bezier(.16, 1, .3, 1) both, ph3d-sway8 9s ease-in-out 1.6s infinite alternate; } }
@media (prefers-reduced-motion: reduce) { .ph3d-rig { animation: none !important; } }
@media (min-width: 701px) { .ph3d-notes li.n1 { --d: 300px; } .ph3d-notes li.n2 { --d: 180px; } .ph3d-notes li.n3 { --d: 150px; } }
@media (max-width: 700px) { .ph3d-notes li.n1 { --d: 110px; } .ph3d-notes li.n2 { --d: 80px; } .ph3d-notes li.n3 { --d: 50px; } }
@media (min-width: 701px) { .ph3d-notes li.n1 { --d: 240px; left: -122px; } .ph3d-notes li.n2 { --d: 170px; right: -196px; } .ph3d-notes li.n3 { --d: 120px; left: -136px; } }
@media (min-width: 701px) { .ph3d-notes li.n1 { left: -104px; } .ph3d-notes li.n2 { right: -168px; } }
@media (max-width: 700px) { .ph3d-notes li.n1 { right: -176px; } .ph3d-notes li.n2 { right: -178px; } .ph3d-notes li.n3 { right: -182px; } }
@media (max-width: 700px) { .ph3d-notes li.n3 { right: -168px; } }
