/* A print-viewing room: every tone is a true neutral, so the only colour on the page comes from the photographs.
   Both the placeholder and the real site use this file, so it stays in /public/, which the gate leaves open. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --wall: #f4f4f4;
  --ink: #161616;
  --ink-2: #636363;
  --rule: #dcdcdc;
  --grey-card: #777777; /* photographers' 18% grey, for a frame still waiting on its print */
  --gutter: clamp(20px, 5vw, 80px);
  --gap: clamp(20px, 3vw, 48px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --wall: #161616;
  --ink: #f0f0f0;
  --ink-2: #a3a3a3;
  --rule: #2e2e2e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1rem/1.5 "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wall { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }

.intro { padding: clamp(72px, 13vw, 200px) 0 clamp(56px, 8vw, 120px); }
.intro h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.intro h1 span { display: block; }
.intro p { margin: 1.25rem 0 0; max-width: 60ch; color: var(--ink-2); }

/* Even columns, three on a computer. Photos keep their own shape: nothing here crops one. */
.prints { columns: 3; column-gap: var(--gap); }
.print { margin: 0 0 var(--gap); break-inside: avoid; }
.print img { display: block; width: 100%; height: auto; }

/* The real site: a faint line between albums */
.prints + .prints {
  margin-top: clamp(32px, 4vw, 64px);
  padding-top: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--rule);
}

.blank { background: var(--grey-card); }
.blank-wide { aspect-ratio: 3 / 2; }
.blank-tall { aspect-ratio: 4 / 5; }

.note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  padding: clamp(48px, 7vw, 104px) 0 clamp(28px, 3vw, 44px);
  font-size: 0.9375rem;
}
.note p { margin: 0; }
.note-links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); }

.empty { margin: 0; max-width: 60ch; color: var(--ink-2); }

@media (max-width: 1100px) {
  .prints { columns: 2; }
}
@media (max-width: 720px) {
  .prints { columns: 1; }
}
