/* Shared design tokens. Every other stylesheet reads from here; nobody else redefines these. */
:root {
  /* colour */
  --paper: #ffffff;
  --ink: #0e0e0e;
  --ink-soft: #767676;
  --hair: rgba(14, 14, 14, 0.14);
  --on-photo: #ffffff;
  --on-photo-soft: rgba(255, 255, 255, 0.72);
  --hair-photo: rgba(255, 255, 255, 0.45);

  /* type */
  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Times, serif;
  --fs-label: 11px;            /* uppercase micro labels */
  --ls-label: 0.16em;
  --fs-small: 13px;
  --fs-title: clamp(42px, 5.4vw, 88px);   /* project names (serif) */
  --fs-body: clamp(18px, 1.55vw, 25px);   /* studio blurb */

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo-out: arrivals, settles */
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);   /* quart-in-out: card leaving */
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1); /* settle with a small overshoot */
  --dur-deck: 1050ms;
  --dur-ui: 600ms;
  --dur-reveal: 1100ms;

  /* layout */
  --gutter: clamp(22px, 2.6vw, 44px);   /* edge padding for all chrome */
  --deck-inset: clamp(8px, 1vw, 16px);  /* white margin around a photo stack */
  --radius: clamp(12px, 1.3vw, 22px);   /* card corner radius */
  --peek: clamp(14px, 1.75vw, 28px);    /* width of each stacked-card sliver */
  --header-h: calc(var(--gutter) * 2 + 16px);
  --rail-space: clamp(210px, 17vw, 300px); /* left column the studio name leaves for the section rail */
}

@media (max-width: 719px) and (min-height: 501px) {
  :root {
    --rail-space: 0px; /* phones hide the rail */
  }
}

/* ?still — screenshot/test mode: every transition and animation resolves instantly. */
html.is-still *,
html.is-still *::before,
html.is-still *::after {
  transition: none !important;
  animation: none !important;
}
