/* Lightbox Cameras — static front. Warm white like a fibre print, darkroom-red
   accent, Futura-style headings over a book serif, and one object: the hire
   steps as frames on a negative strip. Dark mode is the darkroom under the
   safelight. System fonts only. No inline styles (strict CSP). */

:root {
  --print: #f8f4ee;
  --paper: #fffdf9;
  --line: #e3dbcf;
  --ink: #1e1a17;
  --ink-soft: #5e554d;
  --safelight: #a9221b;
  --safelight-deep: #7f1913;
  --on-safelight: #fff;
  --strip: #1d1714;
  --strip-line: #1d1714;
  --hole: var(--print);
  --edge: #e8c873;
  --frame: #f4eee5;
  --frame-ink: #1e1a17;
  --frame-soft: #5a5048;
  --glow: transparent;
  --body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --head: Futura, "Futura PT", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --measure: 36rem;
  --gutter: clamp(16px, 4vw, 56px);
  --wide: 74rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --print: #140c0b; --paper: #1d1311; --line: #3d2723; --ink: #f2e6e0; --ink-soft: #c6aca4;
    --safelight: #ff7466; --safelight-deep: #ff9a8f; --on-safelight: #1d0b09;
    --strip: #2a1d1a; --strip-line: #4a302b; --hole: var(--print);
    --frame: #ece4da; --glow: rgb(255 60 40 / 0.16);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 1.09rem/1.65 var(--body);
  background-color: var(--print);
  background-image: radial-gradient(48rem 26rem at 50% -8rem, var(--glow), transparent 70%);
  background-repeat: no-repeat;
  overflow-wrap: break-word;
}
a { color: var(--safelight); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--safelight); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0 0 0.6rem; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 15ch; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; line-height: 1.2; letter-spacing: -0.01em; }
p { max-width: var(--measure); margin: 0 0 1rem; }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: var(--gutter); }

.bar, main > section, .foot { padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2)); }
.bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.mark { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font: 700 1.12rem/1.2 var(--head); letter-spacing: -0.01em; }
.mark-icon { width: 1.75rem; height: 1.75rem; flex: none; }
.mark-icon rect { fill: var(--ink); }
.mark-icon circle { fill: var(--safelight); }
.bar-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; font: 500 0.95rem/1.4 var(--head); }
.bar-nav a { color: var(--ink); text-decoration: none; padding-block: 0.25rem; }
.bar-nav a:hover { text-decoration: underline; }
.bar-nav .bar-signin { border: 1.5px solid var(--ink); border-radius: 2px; padding: 0.3rem 0.85rem; }

.hero { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(2rem, 7vw, 5.5rem) clamp(2.5rem, 7vw, 5rem); }
@media (min-width: 56rem) { .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4rem; } }
.print { justify-self: center; width: 100%; max-width: 24rem; background: var(--paper); padding: 0.9rem 0.9rem 0.8rem; border: 1px solid var(--line); box-shadow: 0 1.2rem 2.4rem -1.2rem rgb(40 20 10 / 0.35); }
.print-img { display: block; width: 100%; height: auto; background: radial-gradient(circle at 50% 58%, #3a1712, var(--strip) 70%); }
.print-img .ln { fill: none; stroke: #e5483b; stroke-width: 2.5; stroke-linejoin: round; }
.print-img .faint { stroke-opacity: 0.45; }
.print-img .lens { fill: #e5483b; fill-opacity: 0.85; }
.visit { margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--ink-soft); text-align: center; max-width: none; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.25rem); margin-top: 1.25rem; }
.hero-cta, .hire-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.btn { display: inline-block; padding: 0.72rem 1.2rem; border-radius: 2px; font: 600 1rem/1.3 var(--head); text-decoration: none; background: var(--safelight); color: var(--on-safelight); border: 2px solid var(--safelight); }
.btn:hover { background: var(--safelight-deep); border-color: var(--safelight-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: transparent; color: var(--safelight); border-color: var(--safelight); }

/* The shelf: a contact-sheet table; rows stack on phones. */
.shelf { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.shelf > p { color: var(--ink-soft); }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.sheet { border-collapse: collapse; width: 100%; font-size: 1rem; }
.sheet th, .sheet td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.sheet thead th { font: 600 0.85rem/1.3 var(--head); color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
.sheet tbody th { font-weight: 700; }
.sheet .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.sheet tr > :last-child { padding-right: 0; }
@media (max-width: 44rem) {
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sheet, .sheet tbody, .sheet tr, .sheet th, .sheet td { display: block; }
  .sheet tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .sheet th, .sheet td { border: 0; padding: 0.1rem 0; }
  .sheet tbody th { font-size: 1.08rem; margin-bottom: 0.2rem; }
  .sheet td { display: flex; justify-content: space-between; gap: 1rem; }
  .sheet td::before { content: attr(data-label); color: var(--ink-soft); }
}

/* Hire: frames on a negative strip, sprocket holes punched through to the page. */
.hire { padding-block: clamp(2.5rem, 7vw, 5rem); }
.strip {
  list-style: none; counter-reset: frame; position: relative;
  margin: 2rem 0 0; padding: 2.9rem 1rem 2.4rem;
  display: grid; gap: 2.4rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--strip); border: 1px solid var(--strip-line); border-radius: 3px;
}
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; height: 0.7rem;
  background: linear-gradient(to right, var(--hole) 0 55%, transparent 55%) left center / 1.5rem 0.7rem repeat-x;
}
.strip::before { top: 0.55rem; }
@media (min-width: 64rem) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip::after { bottom: 0.55rem; }
@media (max-width: 40rem) {
  .strip { padding: 2.9rem 2.1rem 1.6rem; grid-template-columns: minmax(0, 1fr); }
  .strip::before, .strip::after { top: 0.75rem; bottom: 0.75rem; width: 0.7rem; height: auto; background: linear-gradient(to bottom, var(--hole) 0 55%, transparent 55%) center top / 0.7rem 1.5rem repeat-y; }
  .strip::before { left: 0.6rem; right: auto; }
  .strip::after { right: 0.6rem; left: auto; }
}
.frame { counter-increment: frame; position: relative; background: var(--frame); color: var(--frame-ink); border-radius: 2px; padding: 1.1rem 1.15rem 1.2rem; }
.frame::before {
  content: counter(frame); position: absolute; left: 0.1rem; top: -1.55rem;
  font: 700 0.8rem/1 var(--head); color: var(--edge); letter-spacing: 0.04em;
}
.frame::after {
  content: "Lightbox"; position: absolute; right: 0.1rem; top: -1.55rem;
  font: 500 0.7rem/1 var(--head); color: var(--edge); opacity: 0.7; letter-spacing: 0.08em;
}
.frame p { margin: 0; font-size: 0.98rem; color: var(--frame-soft); }
.frame h3 { color: var(--frame-ink); }

/* Consignment: an unexposed frame until it's live. */
.consign { padding-block: 0 clamp(3rem, 7vw, 5rem); }
.unexposed { border: 2px dashed var(--line); border-radius: 3px; padding: clamp(1.25rem, 4vw, 2.25rem); max-width: 46rem; }
.unexposed p:last-child { margin-bottom: 0; }
.soon { display: inline-block; font: 600 0.85rem/1 var(--head); color: var(--ink-soft); border: 1.5px solid var(--ink-soft); border-radius: 999px; padding: 0.35rem 0.75rem; margin-bottom: 0.9rem; }

.foot { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; justify-content: space-between; padding-block: 2.25rem 3rem; border-top: 2px solid var(--ink); font-size: 0.95rem; }
.foot p { margin: 0 0 0.4rem; }
.foot-name { font: 700 1rem/1.3 var(--head); }
.foot-demo { color: var(--ink-soft); max-width: 28rem; }
.foot-demo p:first-child { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Booking page (calendar.html): the calendar island under a short lede. */
.book { padding-block: clamp(1.5rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.book h1 { max-width: none; font-size: clamp(2rem, 5.4vw, 3.2rem); }
.book-lede { font-size: 1.12rem; color: var(--ink-soft); }
.book-island { margin-block: 1.75rem; padding: clamp(0.75rem, 2.5vw, 1.5rem); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--safelight); border-radius: 2px; max-width: var(--wide); overflow-x: auto; }
.book-loading { margin: 0; color: var(--ink-soft); font-style: italic; }
.book-note { font-size: 0.95rem; color: var(--ink-soft); }
.bar-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--safelight); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
