/* A phone app shown at phone size (Laura, 2026-11-18): /<slug>/app/ holds the live app in a
   phone mock on the project's colour, like its tile on /work. On a phone the page goes straight
   to the app instead (the script on each page). */
:root {
  --ink: #16140f;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.pa {
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center;
  gap: 16px; padding: 24px 16px 20px;
  background: linear-gradient(130deg, var(--a) 0%, var(--a) 35%, var(--b) 100%);
  font: 500 14px/1.3 var(--sans); color: #fff;
}
.pa__phone {
  /* 390 x 844 screen plus the 8px bezel, shrunk to fit a short window */
  height: min(860px, calc(100dvh - 92px));
  aspect-ratio: 406 / 860;
  padding: 8px; border-radius: 52px;
  background: #15131c;
  box-shadow: 0 32px 80px -32px rgb(10 8 30 / .3);
}
.pa__phone iframe {
  display: block; width: 100%; height: 100%;
  border: 0; border-radius: 44px; background: #fff;
}
.pa__links { display: flex; gap: 20px; }
.pa__links a { color: inherit; text-decoration: none; opacity: .85; }
.pa__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.pa__links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
