/*
  Preview harness only — the development banner, placeholder blocks, and the
  design-system reference page. None of this is site layout.

  Page layout lives in found-objects-layout.css. Keep it that way: this file used
  to carry the hero, the cards and the product page, which meant the real design
  was shipping out of a file called "preview".
*/

* { box-sizing: border-box; }
body { margin: 0; }

.fo-preview-banner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fo-space-4);
  align-items: center;
  justify-content: center;
  padding: var(--fo-space-3) var(--fo-gutter);
  background: var(--fo-aged-brass);
  /* warm white on brass = 4.80:1; charcoal on brass is only 2.60:1 */
  color: var(--fo-warm-white);
  font-size: var(--fo-text-xs);
  letter-spacing: var(--fo-tracking-wide);
  text-transform: uppercase;
  text-align: center;
}

.fo-preview-banner a { color: inherit; }

/* Placeholder media — photography is natural-light on warm grounds, so
   placeholders are too. Neutral blocks only: never stock or borrowed photography. */
.fo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fo-color-photo-backdrop);
  color: var(--fo-color-text-subtle);
  font-family: var(--fo-font-display);
  font-size: var(--fo-text-xs);
  letter-spacing: var(--fo-tracking-wide);
  text-transform: uppercase;
  text-align: center;
}

.fo-ph--product { aspect-ratio: var(--fo-ratio-product); }
.fo-ph--tile { aspect-ratio: var(--fo-ratio-tile); }
.fo-ph--editorial { aspect-ratio: var(--fo-ratio-editorial); }
.fo-ph--hero { aspect-ratio: var(--fo-ratio-hero); }
.fo-ph--square { aspect-ratio: 1 / 1; }

.fo-ph__label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--fo-color-text-subtle);
  font-family: var(--fo-font-display);
  font-size: var(--fo-text-xs);
  letter-spacing: var(--fo-tracking-wide);
  text-transform: uppercase;
}

/* ---- Design-system reference page (system.html) --------------------------- */

.fo-swatches {
  display: grid;
  gap: var(--fo-stack-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fo-swatch__chip { height: 5rem; border: var(--fo-hairline) solid var(--fo-color-border); }
.fo-swatch__name { margin: var(--fo-space-3) 0 0; }
.fo-swatch__value { margin: var(--fo-space-1) 0 0; font-size: var(--fo-text-xs); color: var(--fo-color-text-subtle); }

.fo-specimen + .fo-specimen { margin-top: var(--fo-stack-md); }

@media (min-width: 750px) {
  .fo-swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
