/* Where did Noah's ark come to rest? A full-screen viewer that opens from the article "Where Did Noah's Ark Land?".
   Type and colour follow christianpure.com and the other Noah viewers: Tiempos Headline for headings and, in bold
   italic, for Scripture (design system D-026); FK Roman Text for reading and navigation; GT America Condensed for the
   small labels on the land. The fonts load from the site itself.
   The layout is design A, which the owner picked on 17 Oct 2026 (../../viewers/ararat/DESIGN.md), with the controls
   framing the land since his pick A of 7 Nov 2026: Back, the place and Next right under it, the words after. */

@font-face { font-family: 'Tiempos Headline'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Headline'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Headline'; font-style: italic; font-weight: 700; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-BoldItalic.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-BoldItalic.woff2') format('woff2'); }
@font-face { font-family: 'FK Roman Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/FKRomanText-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/FKRomanText-Regular.woff2') format('woff2'); }
@font-face { font-family: 'FK Roman Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/FKRomanText-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/FKRomanText-Medium.woff2') format('woff2'); }
@font-face { font-family: 'GT America LCG'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-America-Condensed-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-America-Condensed-Regular.woff2') format('woff2'); }
@font-face { font-family: 'GT America LCG'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/GT-America-Condensed-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-America-Condensed-Medium.woff2') format('woff2'); }

:root {
  --page: #fffbf9;
  --band: #f8f2e8;
  --ink: #002159;
  --text: #002b63;
  --muted: #56607a;
  --gold: #c58c23;
  --gold-ink: #8f6418;
  --line: #e6ded3;
  --focus: #0951b1;
  --paper: #efe5d3;
  --water: #3d6784;
  --sky-top: #e3e8ea;
  --sky-mid: #eceee9;
  --sky-low: #f6f0e5;
  --head-font: 'Tiempos Headline', Georgia, 'Times New Roman', serif;
  --body-font: 'FK Roman Text', Georgia, 'Times New Roman', serif;
  --label-font: 'GT America LCG', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px; /* the design system's button.radius: every control on the site has 4 px corners */
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--page); color: var(--text); }
body { font-family: var(--body-font); line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* The app: the header, the land with its controls, the words. It fills the screen and never scrolls; the words scroll in their own band. */
.app { display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; overflow: clip; }

.head {
  flex: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 4px 10px; padding-top: max(4px, env(safe-area-inset-top)); background: var(--page); border-bottom: 1px solid var(--line);
  position: relative; z-index: 20; min-height: 52px;
}
.back {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; min-width: 44px; padding: 0 6px 0 2px;
  font: 400 16px/1 var(--body-font); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.back-arrow { font: 400 30px/1 var(--body-font); margin-top: -3px; }
.back-word { display: none; }
.back-more { display: none; margin-left: 0.24em; }
.back:hover .back-word, .back:hover .back-more { text-decoration: underline; text-underline-offset: 3px; }
.head h1 {
  margin: 0; min-width: 0; text-align: center; text-wrap: balance;
  font: 400 18px/1.12 var(--head-font); letter-spacing: -0.01em; color: var(--ink);
}
.about-btn {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
  font: 400 16px/1 var(--body-font); color: var(--ink);
}
.about-btn:hover { border-color: var(--gold); }

.main { flex: 1 1 auto; min-height: 0; position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.view {
  position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; overflow: clip;
  background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 78%, #f8f2e8 100%);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
#gl:active { cursor: grabbing; }
#gl:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }

/* Labels on the land: small on purpose, the one place small type belongs */
.pin { position: absolute; left: 0; top: 0; will-change: transform; }
.pin .dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px rgba(255, 251, 249, 0.92); }
.pin .stem { position: absolute; left: -0.5px; bottom: 4px; width: 1px; height: 18px; background: rgba(0, 33, 89, 0.5); }
.pin .tagbox {
  position: absolute; left: 0; bottom: 22px; transform: translateX(-50%); white-space: nowrap;
  font: 500 13px/1.2 var(--label-font); letter-spacing: 0.01em; color: var(--ink);
  background: rgba(255, 251, 249, 0.95); border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px;
}
.pin .tagbox b { font-weight: 500; }
.pin .tagbox small { font-weight: 400; color: var(--muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
.pin .tagbox .who { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 1px; white-space: normal; max-width: 210px; }
.pin.pos-below .stem { bottom: auto; top: 4px; }
.pin.pos-below .tagbox { bottom: auto; top: 22px; }
.pin.pos-right .stem, .pin.pos-left .stem { display: none; }
.pin.pos-right .tagbox { bottom: auto; top: -12px; left: 11px; transform: none; }
.pin.pos-left .tagbox { bottom: auto; top: -12px; left: auto; right: 11px; transform: none; }
/* A place named for the ark: a gold disc in a navy ring */
.pin.candidate .dot { width: 14px; height: 14px; left: -7px; top: -7px; background: var(--gold); border: 3px solid var(--ink); box-shadow: 0 0 0 2px rgba(255, 251, 249, 0.92); }
.pin.candidate .tagbox b { font: 400 15px/1.15 var(--head-font); letter-spacing: 0; }
.pin.candidate.active .tagbox { border-color: var(--ink); box-shadow: 0 1px 8px rgba(0, 33, 89, 0.18); }
.pin.active .tagbox { border-color: #b9c3d6; }
.pin.peak .dot { width: 0; height: 0; left: -5px; top: -7px; border-radius: 0; background: transparent; box-shadow: none; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #6f6a60; }
.pin.peak .tagbox { background: rgba(248, 242, 232, 0.9); font-weight: 400; }
.pin.church .dot { border-radius: 1px; width: 9px; height: 9px; left: -4.5px; top: -4.5px; }
.pin.site .dot { width: 6px; height: 6px; left: -3px; top: -3px; background: var(--gold-ink); }
.pin.site .tagbox { background: rgba(248, 242, 232, 0.9); font-weight: 400; font-size: 12.5px; padding: 2px 6px; }
.pin.site .tagbox em { font-style: normal; color: var(--gold-ink); margin-left: 5px; }
.pin.water .tagbox { background: transparent; border: 0; color: var(--water); font: italic 400 15px/1 var(--head-font); bottom: -8px; padding: 0; text-shadow: 0 0 3px rgba(255, 251, 249, 0.9); }
.pin.water .dot, .pin.water .stem { display: none; }

/* A picture that belongs to the place: a painting, a photograph, the cross-section */
.inset {
  position: absolute; z-index: 5; margin: 0; right: 16px; top: 16px; width: 316px;
  background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 6px 6px 7px; box-shadow: 0 2px 14px rgba(0, 33, 89, 0.1);
}
.inset img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--paper); }
.inset figcaption { font: 400 12.5px/1.3 var(--label-font); color: var(--muted); margin: 5px 2px 0; }
.inset figcaption a { color: inherit; }
.inset .pair { display: flex; gap: 6px; align-items: flex-start; }
.inset .pair img:first-child { flex: 1 1 0; min-width: 0; }
.inset .pair img.portrait { flex: 0 0 34%; width: 34%; }
.inset.xsec-inset { width: 420px; padding: 8px 10px 8px; }
.xsec svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--label-font); }
.xsec svg text { font-size: 11.5px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.xsec svg .t-ink { fill: var(--ink); }
.xsec svg .t-strong { fill: var(--ink); font-weight: 500; font-size: 12.5px; }

.corner {
  position: absolute; right: 12px; bottom: 10px; z-index: 4; display: flex; align-items: center; gap: 12px;
  font: 400 12.5px/1 var(--label-font); color: var(--muted); pointer-events: none;
  background: rgba(255, 251, 249, 0.86); padding: 5px 8px; border-radius: 5px;
}
.scale { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.scale-line { display: inline-block; height: 6px; border: 1.5px solid #7d8496; border-top: 0; width: 60px; }
.north { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 500; }
.north-arrow { display: inline-block; font-size: 13px; }
.view-note {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 6; margin: 0; max-width: min(460px, calc(100% - 32px));
  background: rgba(0, 33, 89, 0.88); color: #fff; font: 400 14px/1.35 var(--body-font); padding: 7px 12px; border-radius: 6px; text-align: center; pointer-events: none;
}

.loading {
  position: absolute; inset: 0; display: grid; place-items: center; font: 400 17px var(--body-font);
  color: var(--muted); background: var(--paper); z-index: 20; transition: opacity 0.4s; padding: 0 24px; text-align: center;
}
.loading.done { opacity: 0; pointer-events: none; }

/* ---------- the controls frame the land: Back, the place and Next right under it (owner's pick A, 7 Nov 2026) ---------- */
.stepper { background: var(--band); border-top: 1px solid var(--line); padding: 6px 12px 8px; position: relative; z-index: 8; }
.step-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; max-width: 1100px; margin: 0 auto; }
.step {
  min-height: 48px; min-width: 48px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 400 16px/1.1 var(--body-font); color: var(--ink); white-space: nowrap;
}
.step .chev { font: 400 26px/1 var(--body-font); margin-top: -3px; }
.step.next { background: var(--ink); border-color: var(--ink); color: #fff; max-width: 44vw; padding: 0 10px 0 14px; }
.step.next .step-word { display: flex; flex-direction: column; align-items: flex-start; text-align: left; white-space: normal; padding: 5px 0; min-width: 0; }
.next-label { font: 400 13px/1.2 var(--body-font); color: #c9d3e6; }
.next-to { font: 400 16px/1.15 var(--body-font); }
.step.next.end .next-label, .step.next.end .chev { display: none; }
.step.prev { padding: 0; width: 48px; }
.step.prev .step-word { display: none; }
@media (hover: hover) { .step:not(:disabled):hover { border-color: var(--gold); } }
.step:disabled { opacity: 0.4; cursor: default; }
/* the place, with the same mark it has on the land */
.here { min-width: 0; position: relative; padding-left: 25px; }
.here.mark-none { padding-left: 0; }
.here::before { content: ''; position: absolute; left: 1px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); box-sizing: border-box; box-shadow: 0 0 0 2px #fff; }
.here.mark-church::before { border-radius: 1px; background: var(--ink); border: 0; width: 11px; height: 11px; left: 2px; top: 7px; }
.here.mark-none::before { display: none; }
.here-name { margin: 0; font: 400 20px/1.15 var(--head-font); color: var(--ink); letter-spacing: -0.01em; overflow-wrap: break-word; text-wrap: balance; }
.here-n { margin: 1px 0 0; font: 400 13.5px/1.25 var(--body-font); color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }

/* the words, after the controls: everything for the place at once, scrolling in its own band */
.card { flex: 0 0 auto; position: relative; z-index: 10; min-width: 0; background: var(--page); border-top: 1px solid var(--line); }
.card p, .card blockquote { margin: 0; }
.card-body {
  height: 25vh; height: 25svh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 10px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.card-body:focus-visible { outline-offset: -3px; }
.card-title { margin: 0 0 6px; font: 400 20px/1.18 var(--head-font); color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.card-words .q { font: italic 700 17px/1.34 var(--head-font); color: var(--ink); letter-spacing: -0.005em; }
.card-words .q cite { display: block; margin-top: 3px; font: 400 13.5px/1.3 var(--body-font); font-style: normal; color: var(--muted); }
.card-words .q + .t, .card-words .t + .t { margin-top: 6px !important; }
.card-words .t { font: 400 15.5px/1.42 var(--body-font); color: var(--text); margin-top: 6px !important; }
.card-words .t:first-child { margin-top: 0 !important; }
.card-words .facts { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 7px 0 0; padding: 0; list-style: none; font: 400 14px/1.35 var(--body-font); color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.card-words .facts li span { color: var(--muted); margin-right: 4px; }
.card-words .who-list { list-style: none; margin: 6px 0 0; padding: 0; }
.card-words .who-list li { font: 400 15px/1.38 var(--body-font); padding: 3px 0; }
.card-words .who-list b { font-weight: 500; color: var(--ink); }
.card-words .who-list .who { display: block; }
.card-words .zones-key { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font: 400 13.5px/1.3 var(--body-font); color: var(--muted); margin-top: 6px !important; }
.zones-key .sw { display: inline-block; width: 16px; height: 11px; border-radius: 2px; vertical-align: -1px; }
.zones-key .sw-c { background: rgba(197, 140, 35, 0.55); box-shadow: inset 0 0 0 1.5px #9b6c20; }
.zones-key .sw-p { background: rgba(197, 140, 35, 0.25); box-shadow: inset 0 0 0 1px rgba(155, 108, 32, 0.6); margin-left: 8px; }
.card-words .act { margin-top: 8px !important; }
.card-words .extra { padding-top: 8px; }
.card-words .extra > .facts:first-child { margin-top: 0; }
/* a picture that belongs to the place: in the words on a phone, in the sky's corner on a laptop */
.card-words .pic { margin: 10px 0 0; }
.card-words .pic img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--paper); }
.card-words .pic .pair { display: flex; gap: 6px; align-items: flex-start; }
.card-words .pic .pair img:first-child { flex: 1 1 0; min-width: 0; }
.card-words .pic .pair img.portrait { flex: 0 0 34%; width: 34%; }
.card-words .pic figcaption { font: 400 12.5px/1.3 var(--label-font); color: var(--muted); margin-top: 4px; }
.card-words .pic figcaption a { color: inherit; }
.btn {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); display: inline-flex; align-items: center;
  background: #fff; font: 400 16px/1 var(--body-font); color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--gold); }
.btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* About this view */
dialog#about {
  width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); background: var(--page); box-shadow: 0 10px 40px rgba(0, 33, 89, 0.2);
}
dialog#about::backdrop { background: rgba(0, 20, 50, 0.45); }
.about-head {
  position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px 10px 24px; background: var(--page); border-bottom: 1px solid var(--line);
}
.about-head h2 { margin: 0; font: 400 24px/1.2 var(--head-font); color: var(--ink); letter-spacing: -0.01em; }
.about-body { padding: 4px 24px 28px; }
.about-body h3 { margin: 26px 0 8px; font: 400 21px/1.25 var(--head-font); color: var(--ink); }
.about-body h4 { margin: 18px 0 2px; font: 500 17px/1.3 var(--body-font); color: var(--ink); }
.about-body p, .about-body dd { font: 400 17px/1.5 var(--body-font); margin: 0 0 12px; }
.reading-sum { color: var(--muted); font-size: 16px !important; margin-bottom: 6px !important; }
.honesty { margin: 0; }
.honesty dt { margin: 16px 0 4px; font: 500 16px/1.3 var(--body-font); color: var(--ink); }
.honesty dd { margin: 0; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font: 400 16px/1.4 var(--body-font); }
kbd {
  font: 500 13px/1 var(--label-font); min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0 5px;
  border: 1px solid #d9d1c6; border-bottom-width: 2px; border-radius: 4px; background: #fff; color: var(--ink);
}
.sources, .more { padding-left: 20px; margin: 0; }
.sources li, .more li { font: 400 15.5px/1.45 var(--body-font); margin: 6px 0; overflow-wrap: anywhere; }
.more li { font-size: 16.5px; }

/* Hide (H): only the land, and one button to bring the rest back */
.show-ui { display: none; }
.hide-ui .head, .hide-ui .stepper, .hide-ui .card, .hide-ui .inset { display: none !important; }
.hide-ui .show-ui {
  display: block; position: absolute; right: 12px; top: 12px; z-index: 16; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 251, 249, 0.95); font: 400 16px var(--body-font); color: var(--ink); cursor: pointer;
}

/* ---------- phones: the land stays the largest thing; the words take about a quarter of the screen ---------- */
@media (max-width: 899px) {
  .step-row { gap: 8px; min-height: 64px; } /* room for a name or a Next on two lines, so the land keeps one size from place to place */
  .step.prev { width: 44px; min-width: 44px; min-height: 44px; }
  .step.next { min-height: 44px; }
  .here-name { font-size: 19px; }
  .here-n { font-size: 13px; }
  .inset { right: 10px; top: 10px; width: min(54%, 230px); padding: 4px 4px 5px; }
  .inset figcaption { font-size: 11.5px; }
  .inset.xsec-inset { left: 10px; right: 10px; width: auto; }
  .corner { flex-wrap: wrap; justify-content: flex-end; max-width: 150px; column-gap: 10px; row-gap: 4px; right: 8px; bottom: 8px; padding: 4px 7px; }
  .corner .north { flex-direction: row; gap: 2px; }
  dialog#about { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .about-head { padding: 6px 12px 6px 18px; padding-top: max(6px, env(safe-area-inset-top)); }
  .about-head h2 { font-size: 22px; }
  .about-body { padding: 2px 18px 28px; }
  .about-body p, .about-body dd { font-size: 16.5px; }
}
@media (max-width: 360px) { .head h1 { font-size: 16.5px; } .here-name { font-size: 18px; } .next-to { font-size: 15px; } }

/* ---------- laptops: the back link in words; the words in two columns, the finding and the place's words and facts ---------- */
@media (min-width: 900px) {
  .head { padding: 6px 24px; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); }
  .back { font-size: 17px; }
  .back-word, .back-more { display: inline; }
  .head h1 { font-size: 25px; white-space: nowrap; }
  .about-btn { justify-self: end; font-size: 17px; }
  .pin .tagbox { font-size: 14px; }
  .pin.candidate .tagbox b { font-size: 16.5px; }
  .stepper { padding: 8px 28px 10px; }
  .step-row { max-width: 1300px; } /* the same width as the words, so Back sits over the finding */
  .step.prev { width: auto; padding: 0 16px 0 12px; }
  .step.prev .step-word { display: inline; }
  .step.next { max-width: none; padding: 0 14px 0 20px; }
  .step.next .step-word { flex-direction: row; align-items: baseline; gap: 0; padding: 0; white-space: nowrap; }
  .next-label { font: inherit; color: inherit; }
  .next-label::after { content: ':\00a0'; }
  .next-to { font: inherit; }
  .here-name { font-size: 24px; }
  .here-n { font-size: 14px; }
  .card-body {
    height: 196px; padding: 14px 28px 16px;
    display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 940px); column-gap: 40px; justify-content: center; align-content: start;
  }
  .card-title { margin: 0; font-size: 24px; position: sticky; top: 0; align-self: start; }
  .card-words { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 36px; align-content: start; }
  .card-words > * { grid-column: 1; }
  .card-words > .facts { grid-column: 2; grid-row: 1 / span 6; flex-direction: column; gap: 6px; margin: 2px 0 0; }
  .card-words > .facts li span { display: block; font-size: 13px; margin: 0; }
  .card-words .q { font-size: 19px; }
  .card-words .t { font-size: 16px; }
  .card-words .facts { font-size: 14.5px; }
  .card-words .pic { display: none; } /* on a laptop the picture sits in the sky's corner */
  .corner { right: 20px; bottom: 14px; }
  .inset { right: 20px; top: 20px; }
}
@media (min-width: 1500px) { .card-body { grid-template-columns: 360px minmax(0, 1000px); } .step-row { max-width: 1400px; } .inset { width: 360px; } }

@media (prefers-reduced-motion: reduce) { .loading { transition: none; } }

/* ---------- recording (?record=1): the land alone, with its own captions ---------- */
.rec-layer { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
body.record .head, body.record .stepper, body.record .card, body.record .loading, body.record .show-ui, body.record .corner, body.record .inset { display: none !important; }
body.record .app { height: 100vh; min-height: 0; }
body.record *, body.record *::after { transition: none !important; }
body.record .pin { will-change: auto; }
.rec-tag { position: absolute; margin: 0; font: 400 13px/1 var(--label-font); color: var(--muted); background: rgba(255, 251, 249, 0.86); border-radius: 4px; padding: 3px 8px; }
.rec-tag span { color: var(--gold-ink); }
.rec-cap { position: absolute; color: var(--ink); background: rgba(255, 251, 249, 0.95); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 14px rgba(0, 33, 89, 0.1); }
.rec-cap h2 { font: 400 32px/1.14 var(--head-font); margin: 0; letter-spacing: -0.01em; }
.rec-cap p { margin: 0; font: 400 18px/1.36 var(--body-font); color: var(--text); }
.rec-kicker { font: 400 14px/1.3 var(--body-font) !important; color: var(--gold-ink) !important; }
.rec-photo { position: absolute; margin: 0; background: var(--page); padding: 6px 6px 4px; border-radius: 6px; box-shadow: 0 2px 14px rgba(0, 33, 89, 0.18); }
.rec-photo img { display: block; width: 100%; height: auto; border-radius: 3px; background: var(--paper); }
.rec-photo figcaption { font-family: var(--label-font); color: var(--muted); margin-top: 3px; line-height: 1.25; }
.rec-credit { position: absolute; margin: 0; font-family: var(--label-font); color: var(--text); line-height: 1.35; }
body.rec-reel .rec-tag { left: 26px; top: 22px; }
body.rec-reel .rec-cap { left: 26px; right: 86px; top: 58px; padding: 14px 18px 16px; }
body.rec-reel .rec-cap h2 { font-size: 36px; }
body.rec-reel .rec-cap p { font-size: 22px; margin-top: 8px; }
body.rec-reel .rec-kicker { margin: 0 0 6px !important; }
body.rec-reel .rec-photo { left: 26px; right: 86px; top: 436px; }
body.rec-reel .rec-photo figcaption { font-size: 12px; }
body.rec-reel .rec-credit { left: 26px; right: 86px; top: 520px; font-size: 15px; background: rgba(255, 251, 249, 0.9); border-radius: 8px; padding: 10px 14px; }
body.rec-reel .pin .tagbox { font-size: 16px; padding: 3px 9px 4px; }
body.rec-reel .pin.candidate .tagbox b { font-size: 19px; }
body.rec-wide .rec-tag { left: 26px; top: 20px; font-size: 11.5px; }
body.rec-wide .rec-cap { left: 26px; bottom: 26px; max-width: 470px; padding: 10px 14px 12px; }
body.rec-wide .rec-cap.cap-right { left: auto; right: 26px; }
body.rec-wide .rec-cap h2 { font-size: 25px; }
body.rec-wide .rec-cap p { font-size: 15.5px; margin-top: 4px; }
body.rec-wide .rec-kicker { font-size: 11px !important; margin: 0 0 3px !important; }
body.rec-wide .rec-photo { right: 26px; top: 26px; width: 330px; }
body.rec-wide .rec-photo figcaption { font-size: 10px; }
body.rec-wide .rec-credit { right: 26px; top: 20px; max-width: 360px; font-size: 11.5px; background: rgba(255, 251, 249, 0.9); border-radius: 6px; padding: 8px 11px; }
body.rec-nocap .rec-cap { display: none !important; }
