/* Hallmark v2.0.0 | theme: custom (adaptive nocturne/baryta) | genre: editorial | signature: four-mode adaptive street photography exhibition */
/* Critique: Avoids SaaS card grids, eyebrows, gradients, and decorative chrome; lets 3:2 and 2:3 street photographs command the viewport across darkroom and baryta paper atmospheres. */

:root {
  /* Typography */
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-film-title: clamp(1.05rem, 1.45vw, 1.35rem);
  --text-2xl: clamp(1.75rem, 2.5vw, 2.35rem);
  --text-3xl: clamp(2.5rem, 4.5vw, 4rem);
  --text-hero: clamp(3.25rem, 6.2vw, 5.75rem);

  /* Layout & spacing */
  --container-max: 1480px;
  --gutter: clamp(1.25rem, 3.5vw, 3.5rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  /* Radii — crisp photographic prints */
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-mid: 380ms;
  --dur-slow: 680ms;
  --dur-theme: 520ms;

  /* Z-index layers */
  --z-base: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-drawer: 60;
  --z-lightbox: 80;
  --z-loader: 100;

  /* Default theme: Nocturne (Bilbao by Night) */
  --bg: #0c0c0e;
  --bg-elevated: #141418;
  --bg-subtle: #1b1b20;
  --bg-scrim: rgba(12, 12, 14, 0.88);
  --bg-lightbox: #070709;
  --ink: #f0eee9;
  --ink-secondary: #b5b2aa;
  --ink-muted: #84817a;
  --hairline: rgba(240, 238, 233, 0.12);
  --hairline-strong: rgba(240, 238, 233, 0.24);
  --accent: #e4573d;
  --accent-ink: #0c0c0e;
  --accent-soft: rgba(228, 87, 61, 0.14);
  --focus-ring: #f0eee9;
  --selection-bg: #e4573d;
  --selection-ink: #0c0c0e;
  --frame-mat: #111114;
  --frame-shimmer: rgba(240, 238, 233, 0.08);
  --print-frame-bg: #ebe7df;
  --print-frame-ink: #161513;
  --print-frame-border: rgba(240, 238, 233, 0.22);
  --frame-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --scrollbar-thumb: rgba(240, 238, 233, 0.22);
  --scrollbar-track: #0c0c0e;
  --loader-bg: #08080a;
  --loader-ink: #f0eee9;
  --loader-muted: #8a8780;
  --overlay-ink: #f5f3ee;
  --overlay-muted: rgba(245, 243, 238, 0.72);
  --overlay-border: rgba(245, 243, 238, 0.24);
  --overlay-border-strong: rgba(245, 243, 238, 0.5);
  --overlay-fill: rgba(8, 8, 10, 0.32);
  --overlay-fill-hover: rgba(245, 243, 238, 0.14);
  --overlay-scrim: linear-gradient(180deg, rgba(8, 8, 10, 0.36) 0%, rgba(8, 8, 10, 0.12) 45%, rgba(8, 8, 10, 0.72) 100%);
  --lightbox-ink: #f0eee9;
  --lightbox-muted: #9e9b93;
  --lightbox-surface: rgba(18, 18, 22, 0.86);
  --lightbox-border: rgba(240, 238, 233, 0.14);
  --film-strip-bg: #141210;
  --film-strip-grain: rgba(255, 245, 225, 0.04);
  --film-strip-edge: rgba(218, 174, 102, 0.28);
  --film-sprocket: #050506;
  --film-sprocket-rim: rgba(218, 174, 102, 0.16);
  --film-amber: #d4a156;
  --film-ink: #efe9dc;
}

/* Adaptive theme: Baryta paper (Paseo Bilbao — B&W) */
[data-theme="baryta"] {
  --bg: #f3efe7;
  --bg-elevated: #eae4d8;
  --bg-subtle: #e1dacb;
  --bg-scrim: rgba(243, 239, 231, 0.9);
  --bg-lightbox: #111110;
  --ink: #161513;
  --ink-secondary: #4c4943;
  --ink-muted: #6f6b63;
  --hairline: rgba(22, 21, 19, 0.13);
  --hairline-strong: rgba(22, 21, 19, 0.28);
  --accent: #161513;
  --accent-ink: #f3efe7;
  --accent-soft: rgba(22, 21, 19, 0.08);
  --focus-ring: #161513;
  --selection-bg: #161513;
  --selection-ink: #f3efe7;
  --frame-mat: #e7e1d5;
  --frame-shimmer: rgba(22, 21, 19, 0.08);
  --print-frame-bg: #171614;
  --print-frame-ink: #f3efe7;
  --print-frame-border: rgba(22, 21, 19, 0.28);
  --frame-shadow: 0 18px 46px rgba(22, 21, 19, 0.12);
  --scrollbar-thumb: rgba(22, 21, 19, 0.24);
  --scrollbar-track: #f3efe7;
}
