/* Reflect Photo — 1930s railway-poster design language */

:root {
  --paper: #f0e4c8;
  --paper-deep: #e7d8b2;
  --ink: #21402e;          /* deep poster green */
  --ink-soft: #3d5a44;
  --brick: #b4552d;        /* accent — chimney brick / marker red */
  --navy: #22304d;
  --gold: #c9a24b;
  --cream-text: #f4ecd6;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", "Gill Sans", "Avenir Next", sans-serif;
  --display: "Oswald", "Gill Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;   /* kill stray horizontal overflow (e.g. buy-table on mobile) that shifts centred content right; clip keeps the sticky header working */
  /* subtle paper grain */
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.25), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(120,90,40,.10), transparent 50%);
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 3px double var(--ink);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand .wordmark {
  font-family: var(--display); font-weight: 500; font-size: 1.25rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
}
/* one row at every laptop width: the nav never wraps, it scales instead,
   and the basket is its own element pinned to the right */
.site-nav { display: flex; flex-wrap: nowrap; gap: clamp(.55rem, 1.3vw, 1.6rem); margin-left: auto; }
.site-nav a, .basket-link {
  font-family: var(--sans); font-size: clamp(.6rem, .45vw + .38rem, .8rem); font-weight: 500;
  letter-spacing: clamp(.08em, .012em + .18vw, .22em); text-transform: uppercase; text-decoration: none;
  padding-bottom: 2px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active,
.basket-link:hover, .basket-link.active { border-bottom-color: var(--brick); }
.basket-link { margin-left: clamp(.7rem, 1.6vw, 2rem); }
.brand { margin-right: clamp(.7rem, 1.6vw, 2rem); }
.brand .wordmark { white-space: nowrap; font-size: clamp(.95rem, .55vw + .75rem, 1.25rem); letter-spacing: clamp(.16em, .1em + .3vw, .28em); }

/* mobile: brand top-left, basket top-right, nav on its own row below */
@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap; gap: .7rem; padding: .8rem .8rem .7rem;
    position: static;                 /* don't pin a tall header to the top */
  }
  .brand svg { width: 26px; height: 26px; }
  .brand .wordmark { font-size: 1.05rem; letter-spacing: .22em; }
  .site-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: .45rem .95rem; margin-left: 0; }
  .site-nav a { font-size: .68rem; letter-spacing: .14em; }
  .basket-link { margin-left: auto; font-size: .72rem; }
}

/* ---------- landing ---------- */
.hero {
  min-height: calc(100vh - 76px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.hero .logo-mark { width: min(220px, 50vw); color: var(--ink); opacity: 0; animation: fadeUp 2.2s ease .3s forwards; }
.hero .logo-mark svg { width: 100%; height: auto; display: block; }
.hero h1 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: .18em;
  margin-top: 1.2rem; opacity: 0; animation: fadeUp 1.6s ease 1.4s forwards;
}
.hero .tagline {
  font-family: var(--sans); letter-spacing: .3em; text-transform: uppercase;
  font-size: .85rem; color: var(--ink-soft); margin-top: 1rem;
  opacity: 0; animation: fadeUp 1.6s ease 2s forwards;
}
.hero .scroll-hint {
  margin-top: 3.5rem; font-size: 1.6rem; text-decoration: none; color: var(--ink-soft);
  opacity: 0; animation: fadeUp 1.6s ease 2.8s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- shared section chrome ---------- */
.wrap { max-width: 1150px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0; }
.kicker {
  font-size: .75rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brick); font-weight: 500; text-align: center;
}
h2.display {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center; margin: .4rem 0 .8rem;
}
.rule { display: flex; align-items: center; gap: .8rem; justify-content: center; margin: 1rem 0 2.5rem; }
.rule::before, .rule::after { content: ""; height: 2px; width: 70px; background: var(--ink); }
.rule span { width: 8px; height: 8px; background: var(--brick); transform: rotate(45deg); }

/* ---------- series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.series-card {
  text-decoration: none; background: var(--paper-deep);
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 rgba(33,64,46,.25);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
}
.series-card:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 rgba(33,64,46,.3); }
.series-card img { aspect-ratio: 3/4; object-fit: cover; border-bottom: 2px solid var(--ink); }
.series-card .mini-wrap {
  position: relative; border-bottom: 2px solid var(--ink);
  background: var(--paper-deep);
}
.series-card .mini-map { aspect-ratio: 3/4; width: 100%; display: block; }
.mini-cartouche {
  position: absolute; top: 1rem; left: 0; right: 0; text-align: center;
  font-family: var(--display); font-weight: 500; font-size: 1.1rem;
  letter-spacing: .22em; padding-left: .22em; text-transform: uppercase;
  color: var(--ink); pointer-events: none;
}
.mini-land { fill: #e6d5a9; stroke: var(--ink-soft); stroke-width: 1; }
.mini-region { fill: rgba(201,162,75,.32); stroke: var(--ink); stroke-width: 1.4; }
.mini-dot { fill: var(--brick); }
.series-card .card-body { padding: 1.1rem 1.2rem 1.3rem; }
.series-card h3 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 500; font-size: 1.15rem;
}
.series-card p { font-size: .88rem; color: var(--ink-soft); margin-top: .4rem; }
.series-card .count {
  display: inline-block; margin-top: .7rem; font-size: .72rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--brick); font-weight: 500;
}

/* ---------- poster-style page banner ---------- */
.banner { text-align: center; padding: 3.2rem 1rem 2.4rem; }
.banner h1 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: .1em; line-height: 1.05;
}
.banner .sub {
  display: inline-block; margin-top: .9rem; font-size: .8rem; letter-spacing: .32em;
  text-transform: uppercase; font-weight: 500;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: .35rem 1.4rem;
}
.banner .ribbon {
  display: block; width: fit-content; margin: 1.1rem auto 0;
  background: var(--ink); color: var(--cream-text);
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  padding: .4rem 1.6rem;
}

/* ---------- map page ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }

.map-frame {
  background: var(--paper-deep);
  border: 3px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 5px;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.map-frame svg { width: 100%; height: 100%; display: block; cursor: grab; }
.map-frame svg:active { cursor: grabbing; }
.map-land { stroke-linejoin: round; }
.world-land { fill: #e6d5a9; stroke: var(--ink-soft); stroke-width: 1; }
.british-land { fill: #e9d9ae; stroke: var(--ink); stroke-width: 1.4; }
.map-region {
  fill: rgba(201,162,75,.22); stroke: var(--ink); stroke-width: 1.2;
  cursor: pointer; transition: fill .15s ease;
}
.map-region:hover { fill: rgba(201,162,75,.42); }
.map-region.active { fill: rgba(180,85,45,.30); stroke-width: 1.8; }
.map-region-label {
  font-family: var(--display); font-weight: 500; fill: var(--ink-soft);
  pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.map-dot { cursor: pointer; }
.map-dot circle.pin { fill: var(--brick); stroke: var(--paper); }
.map-dot circle.halo { fill: none; stroke: var(--brick); opacity: 0; }
.map-dot.active circle.halo { opacity: .85; }   /* static ring — no pulse, per the vintage aesthetic */
.map-dot text {
  font-family: var(--sans); font-weight: 600; letter-spacing: .08em;
  fill: var(--ink); paint-order: stroke; stroke: var(--paper-deep);
  pointer-events: none; transition: opacity .2s ease;
}
.map-controls {
  position: absolute; top: .8rem; right: .8rem; display: flex; flex-direction: column; gap: .4rem;
}
.map-controls button {
  width: 38px; height: 38px; font-size: 1.25rem; line-height: 1; cursor: pointer;
  font-family: var(--sans); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(33,64,46,.25);
}
.map-controls button:hover { background: var(--ink); color: var(--cream-text); }

/* invisible finger-sized tap targets on dots */
.map-dot circle.hit { fill: transparent; stroke: none; pointer-events: all; }

/* fullscreen map mode */
.map-frame.fullscreen {
  position: fixed; inset: 0; z-index: 300;
  aspect-ratio: auto; outline: none; border-width: 0;
}
body.map-fs { overflow: hidden; }
body.map-fs .panel {
  position: fixed; top: 14px; right: 64px; z-index: 310;
  width: min(330px, calc(100vw - 90px));
  max-height: calc(100vh - 28px); overflow: auto;
}
@media (max-width: 760px) {
  body.map-fs .panel {
    top: auto; left: 8px; right: 8px; bottom: 8px;
    width: auto; max-height: 44vh;
  }
}
.map-credit { font-size: .68rem; color: var(--ink-soft); margin-top: .5rem; text-align: right; }

/* map side panel */
.panel {
  border: 2px solid var(--ink); background: var(--paper-deep);
  box-shadow: 6px 6px 0 rgba(33,64,46,.25); padding: 1.4rem; position: sticky; top: 100px;
}
.panel .hint { color: var(--ink-soft); font-size: .95rem; }
.panel img { border: 2px solid var(--ink); margin-bottom: 1rem; }
.panel .serial { font-size: .72rem; letter-spacing: .3em; color: var(--brick); font-weight: 600; }
.panel h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 1.4rem; margin: .2rem 0; }
.panel .subtitle { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.panel p.story { font-size: .92rem; margin: .9rem 0 1.1rem; }
.panel .actions { display: flex; flex-direction: column; gap: .55rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  padding: .7rem 1.3rem; border: 2px solid var(--ink);
  background: var(--ink); color: var(--cream-text);
  transition: background .12s ease, color .12s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream-text); }
.btn.brick { background: var(--brick); border-color: var(--brick); }
.btn.brick:hover { background: transparent; color: var(--brick); }

/* ---------- print grid ---------- */
/* explicit column counts (not auto-fill): span-2 wide cards need predictable
   tracks, and dense flow lets portraits backfill the holes wides leave */
.print-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; grid-auto-flow: dense; }
@media (max-width: 1100px) { .print-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .print-grid { grid-template-columns: repeat(2, 1fr); } }
/* featured grid always tiles its 8 prints evenly: 4-up, or 2-up on small screens */
#featured-prints { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
@media (max-width: 980px) { #featured-prints { grid-template-columns: repeat(2, 1fr); } }
.print-card { text-decoration: none; }
.print-card .mat {
  border: 2px solid var(--ink);   /* the sheet brings its own cream margins */
  box-shadow: 5px 5px 0 rgba(33,64,46,.22); transition: transform .15s ease;
}
.print-card:hover .mat { transform: translate(-2px,-2px); }
/* uniform 3:4 windows; landscape prints span two columns at 3:2 — the row
   heights come out equal, so wide artwork reads as a feature, not a misfit */
.print-card .mat img { width: 100%; aspect-ratio: 210 / 297; object-fit: contain; display: block; }
/* wide cards: two-column span, but sized so the IMAGE height matches the
   portrait cards exactly (at 3:2 that means the card is one grid-gap narrower
   than the span) and centred — rows stay perfectly level (user, 2026-07-04) */
/* width = two portrait cards minus one grid gap minus one set of mat chrome
   (2x10px padding + 2x2px border): the mat frame doesn't double when the card
   spans two columns, so it must come off the width for image heights to match */
/* site imagery IS the print sheet (A-ratio, cream mat included): every
   portrait image is 210:297 and every landscape 297:210 — variety lives
   inside the cream. A-ratio self-similarity (sqrt2 squared = 2) means a
   landscape sheet at matched height is EXACTLY two portrait sheets wide. */
.print-card.wide {
  grid-column: span 2; margin: 0 auto;
  width: calc((100% - 2rem) - 4px);
}
.print-card.wide .mat img { aspect-ratio: 297 / 210; }
.print-card h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-top: .8rem; }
.print-card .meta { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- print detail ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-image img { border: 1px solid rgba(33,64,46,.3); box-shadow: 6px 6px 14px rgba(33,64,46,.18); margin-inline: auto; }
.detail-info .serial { font-size: .75rem; letter-spacing: .3em; color: var(--brick); font-weight: 600; }
.detail-info h1 { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; }
.detail-info .subtitle { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }
.detail-info .story { margin: 1.3rem 0; }
.detail-info .loc { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.loc-links { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2rem; }

.buy-table { width: 100%; border-collapse: collapse; margin-top: .6rem; }
.buy-table th {
  text-align: left; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding: .4rem 0; font-weight: 600;
}
.buy-table td { padding: .75rem .6rem .75rem 0; border-bottom: 1px solid rgba(33,64,46,.25); vertical-align: middle; }
.buy-table .p-label { font-weight: 600; }
.buy-table .p-detail { font-size: .78rem; color: var(--ink-soft); }
.buy-table .p-price { font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.buy-table .btn { padding: .5rem .9rem; font-size: .68rem; }

/* checkout notice modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(33,48,38,.55); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper); border: 3px solid var(--ink); max-width: 430px; padding: 2rem; text-align: center;
}
.modal h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .15em; margin-bottom: .8rem; }
.modal p { font-size: .92rem; margin-bottom: 1.4rem; }

/* ---------- text pages ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .15em; font-weight: 500; margin: 1.8rem 0 .6rem; }

/* contact form */
.contact-form { display: grid; gap: 1rem; max-width: 560px; margin: 0 auto; }
.contact-form label { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .7rem .8rem; font-family: var(--sans); font-size: 1rem;
  background: #fbf6e9; border: 2px solid var(--ink); color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 4rem; border-top: 3px double var(--ink);
  padding: 2.2rem 2rem; text-align: center;
}
.site-footer .fm { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.site-footer nav { margin-bottom: .9rem; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.site-footer nav a { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }

/* basket badge in the nav */
#basket-count { color: var(--brick); font-weight: 700; }

/* print-page format dropdown + explainer (size range added 2026-07-05) */
.fmt-select {
  font: inherit; font-size: .82rem; color: var(--ink); max-width: 100%; box-sizing: border-box;
  padding: .45rem .55rem; border: 1px solid var(--ink-soft);
  border-radius: 3px; background: var(--paper); cursor: pointer;
}
@media (max-width: 560px) {
  .buy-table td { padding: .6rem .35rem .6rem 0; }
  .buy-table td:nth-child(2) { width: 42%; }
  .fmt-select { display: block; width: 100%; margin-top: .35rem; font-size: .78rem; padding: .4rem .4rem; }
  .buy-table .btn { padding: .45rem .5rem; font-size: .6rem; }
}
.fmt-explainer { margin-top: 1rem; font-size: .84rem; max-width: 34rem; }
.fmt-explainer summary {
  cursor: pointer; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .14em; font-size: .68rem; color: var(--ink-soft);
}
.fmt-explainer p { margin: .55rem 0 0; line-height: 1.5; }

/* print-page lightbox: near-black ground so both border creams read true */
#lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 18, .96);
  display: flex; align-items: center; justify-content: center; cursor: zoom-out;
}
#lightbox .lb-stage img {
  max-width: 92vw; max-height: 86vh; box-shadow: 0 8px 40px rgba(0,0,0,.6);
  cursor: default;
}
#lightbox .lb-room .lb-printwrap, #lightbox .lb-room .lb-print { box-shadow: none; }
#lightbox .lb-close {
  position: absolute; top: 1rem; right: 1.2rem; font-size: 1.4rem; line-height: 1;
  background: none; border: none; color: #d8cfc0; cursor: pointer; padding: .4rem;
}
#lightbox .lb-bar {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .55rem; align-items: center; flex-wrap: wrap;
  justify-content: center; max-width: 96vw;
}
#lightbox .lb-ctl {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  color: #d8cfc0; border: 1px solid rgba(216, 207, 192, .4); border-radius: 3px;
  padding: .34rem .55rem; cursor: pointer; background: none; font: inherit;
}
#lightbox .lb-ctl[hidden] { display: none; }
#lightbox .lb-ctl .lb-val {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .68rem; white-space: nowrap;
}
/* the native select is invisible and covers the WHOLE control: the entire
   button is the click target, and the visible label is ours (no truncation) */
#lightbox .lb-ctl select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
}
#lightbox .lb-ctl svg, #lightbox .lb-ctl .lb-swatch, #lightbox .lb-ctl .lb-val { pointer-events: none; }
#lightbox .lb-swatch {
  width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(216,207,192,.6);
  display: inline-block;
}
#lightbox .lb-mode {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; padding: .45rem .8rem; cursor: pointer; border-radius: 3px;
  background: #d8cfc0; border: 1px solid #d8cfc0; color: #21402e;
}
@media (max-width: 640px) {
  #lightbox .lb-bar { gap: .35rem; bottom: .6rem; }
  #lightbox .lb-ctl { padding: .22rem .4rem; }
  #lightbox .lb-ctl select, #lightbox .lb-mode { font-size: .62rem; }
  #lightbox .lb-mode { padding: .35rem .6rem; }
}

/* lightbox room mode: drawn room, print composited at true scale */
#lightbox .lb-stage { display: flex; align-items: center; justify-content: center; max-width: 92vw; max-height: 86vh; }
#lightbox .lb-stage[hidden], #lightbox .lb-room[hidden], #lightbox .lb-sizes[hidden] { display: none; }
#lightbox .lb-room {
  position: relative; width: min(92vw, calc(86vh * 1.5)); aspect-ratio: 3 / 2;
  box-shadow: 0 8px 40px rgba(0,0,0,.6); cursor: default; overflow: hidden;
  transition: opacity .45s ease;
}
#lightbox .lb-room .lb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#lightbox .lb-room .lb-printwrap { position: absolute; display: block; }
#lightbox .lb-room .lb-printwrap img { width: 100%; display: block; }

#lightbox .lb-caption {
  position: absolute; bottom: 1.5%; left: 0; right: 0; text-align: center;
  font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.9);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}



/* room-preview foreground cutouts: occlude the print like real objects */
#lightbox .lb-room .lb-fg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
#lightbox .lb-room .lb-fg[hidden] { display: none; }

/* light transfer happens on a canvas (no CSS blend modes — iOS rasterises
   them at low resolution); the canvas fills the print wrap exactly */
#lightbox .lb-room .lb-printwrap { overflow: hidden; }
#lightbox .lb-room canvas.lb-print {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}

/* two-segment border control: both options visible, current one lit */
#lightbox .lb-seg { display: inline-flex; border: 1px solid rgba(216,207,192,.4); border-radius: 3px; overflow: hidden; }
#lightbox .lb-seg button {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .68rem; padding: .34rem .6rem; cursor: pointer;
  background: none; border: none; color: #d8cfc0;
}
#lightbox .lb-seg button + button { border-left: 1px solid rgba(216,207,192,.4); }
#lightbox .lb-seg button.on { background: rgba(216,207,192,.92); color: #21402e; }
#lightbox .lb-seg .lb-swatch { pointer-events: none; }
