/* Page CSS: only what sits inside a visual and the kit lacks.
   A photo frame waits for one of the client's own photographs; scripts/place-photos.mjs replaces it
   with the <img> once the file is in site/photos/. */
.photo-slot, .frame.frame--photo > .photo-slot {
  position: absolute; inset: 0; z-index: 0; max-width: none;
  container-type: size;
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: start; gap: var(--s-1);
  padding: var(--s-5);
  background: var(--surface); color: var(--ink);
}
/* the frame's number, set large in the display face: the shot list (PHOTOS.md) uses the same numbers */
.photo-slot__no { font: var(--display-weight) min(34cqh, 30cqw, 184px)/0.8 var(--font-display); letter-spacing: var(--display-tracking-xl); color: var(--action); }
.photo-slot__what { font-size: var(--t-body); font-weight: 500; }
.photo-slot__spec { font-size: var(--t-small); color: var(--muted); }

/* this face draws a tabular comma a full figure wide ("1 , 500"): prices take its proportional figures */
.rows__value { font-variant-numeric: normal; }
.ui { font-feature-settings: normal; font-variant-numeric: normal; }
/* the link that closes a list or a grid */
.work__more { margin-top: var(--s-6); }
/* the work tiles: 4:3 captures, 3:2 on a phone */
.tile { --tile-ratio: 4 / 3; }
@media (max-width: 639px) { .tile { --tile-ratio: 3 / 2; } }

/* a process step's screen: the fragment at its own width on the lit ground, whole */
.proc-ui { width: min(100%, var(--proc-w, 420px)); }


/* the 3D cube's pause button (the cube itself: long-page.css): it floats for as long as its section is on screen */
.hero-3d__pause { position: absolute; right: 0; bottom: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity 150ms; }
.hero-3d__pause::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); z-index: -1; }
.hero-3d:hover > .hero-3d__pause, .hero-3d__pause:focus-visible, .hero-3d__pause[aria-pressed="true"] { opacity: 1; }
.hero-3d__pause:hover { color: var(--ink); }
/* the assistant's window as the picture of the AI service: on the lit ground, cut at the frame's foot */
.lp-svc__ui { position: absolute; inset: 0; display: grid; justify-items: center; align-items: start; padding: 36px 24px 0; background: var(--ground-bg); opacity: 0; transition: opacity 300ms ease; }
.lp-svc__ui > .ui { width: min(100%, 400px); }
.lp-svc:has(details:nth-of-type(4)[open]) .lp-svc__ui { opacity: 1; }

/* scroll motion (src/motion-fx.js): a picture that drifts in its frame is drawn a little larger, so its edges never show */
.fx-drift { scale: 1.1; }
/* a block waiting below the screen for its entrance (the script adds and removes this class) */
.fx-wait { opacity: 0; }
/* moving between the five pages: the old page fades into the new one */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
