/* ============================================================
   Sheridan OS — overview page
   Built on the Sheridan Capital design language (sc_design_center).
   Tokens below are lifted verbatim from that repo's styles.css :root
   block. Do not hardcode a colour anywhere else in this file — if a
   value is missing, add it here and push it upstream.
   ============================================================ */

@import url("./fonts/fonts.css");

:root {
  /* ---- surfaces (sc_design_center/styles.css) ---- */
  --paper: #f4f5f7;
  --panel: #e8eaef;
  --ink: #1b1e24;
  --ink-2: #3f4551;
  --gray: #5b6270;
  --gray-soft: #8a91a0;
  --hairline: #dfe2e8;
  --rule: #1b1e24;

  /* ---- brand accents ---- */
  --accent: #d7281e; /* Sheridan red */
  --accent-2: #1f7a5c;

  /* ---- page-only derivations ---- */
  --white: #ffffff;
  --accent-wash: rgba(215, 40, 30, 0.06);
  --ink-wash: rgba(27, 30, 36, 0.04);

  /* ---- type families ---- */
  --display: "Libre Franklin", "Helvetica Neue", sans-serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", monospace;

  /* ---- page geometry ---- */
  --radius: 6px; /* matches the hub's own --radius */
  --radius-lg: 10px;
  --maxw: 1160px;
  --gutter: 32px;
  --section-y: clamp(64px, 8vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lb-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  border-radius: var(--radius);
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- running header ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.bar-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  gap: 26px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.mark img {
  height: 26px;
  width: auto;
  display: block;
}
.mark .div {
  width: 1px;
  height: 15px;
  background: var(--hairline);
}
.mark .nm {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.bar-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
.bar-nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.bar-nav a:hover {
  color: var(--ink);
}
@media (max-width: 900px) {
  .bar-nav {
    display: none;
  }
}

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 22px;
}
.eyebrow .idx {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.eyebrow .bar-rule {
  width: 38px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 22ch;
  text-wrap: balance;
}
h2 em {
  font-style: normal;
  color: var(--accent);
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 18px;
  max-width: 68ch;
  color: var(--gray);
  text-wrap: pretty;
}
p strong {
  color: var(--ink);
  font-weight: 600;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--gray);
  max-width: 40ch;
  margin: 0 0 44px;
}
.lead strong {
  color: var(--ink);
  font-weight: 600;
}

section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--hairline);
  /* clear the sticky bar when a nav anchor jumps here */
  scroll-margin-top: 56px;
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(72px, 10vw, 132px) 0 var(--section-y);
  border-bottom: 1px solid var(--hairline);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule);
  margin: 0;
}
@media (max-width: 860px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
.fact {
  padding: 20px 32px 4px 0;
}
.fact + .fact {
  padding-left: 32px;
  border-left: 1px solid var(--hairline);
}
@media (max-width: 860px) {
  .fact:nth-child(2n + 1) {
    padding-left: 0;
    border-left: none;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
  }
}
@media (max-width: 480px) {
  .fact + .fact {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
  }
}
.fact dt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin: 0 0 10px;
}
.fact dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
}

/* ---------- hero product visual ---------- */
.showcase {
  padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 5vw, 60px);
  background: linear-gradient(180deg, var(--panel) 0%, var(--paper) 100%);
}
/* the hero visual breaks out past the text column so it reads as the product */
.showcase .wrap {
  max-width: 1400px;
}
.viz-note {
  margin: 16px auto 0;
  max-width: 62ch;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--gray-soft);
}

/* ---------- before / now ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border-top: 2px solid var(--rule);
}
@media (max-width: 780px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.col {
  padding: 24px 40px 8px 0;
}
.col + .col {
  padding-left: 44px;
  border-left: 1px solid var(--hairline);
}
@media (max-width: 780px) {
  .col + .col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
  }
}
.col h4 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin: 0 0 6px;
}
.col.now h4 {
  color: var(--accent);
}
.col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* No bullet dashes: the hairline between rows already separates them, and a
   dash on every line reads as clutter at this density. */
.col li {
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 16.5px;
  line-height: 1.42;
  color: var(--gray);
  text-wrap: pretty;
}
.col.now li {
  color: var(--ink-2);
}
.col li:last-child {
  border-bottom: none;
}

/* ---------- dark statement band ---------- */
.band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 44px;
  padding: 22px 40px;
  display: flex;
  align-items: baseline;
  gap: 36px;
}
@media (max-width: 720px) {
  .band {
    flex-direction: column;
    gap: 12px;
    padding: 22px 26px;
  }
}
.band-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 72%, white);
  white-space: nowrap;
}
.band-text {
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  margin: 0;
  max-width: none;
}
.band-text strong {
  color: color-mix(in srgb, var(--accent) 80%, white);
  font-weight: 700;
}

/* ---------- module rows ---------- */
.mods {
  margin-top: 48px;
}
.mod {
  border-top: 1px solid var(--hairline);
  padding: 44px 0 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
}
.mod:first-child {
  border-top: 2px solid var(--rule);
}
@media (max-width: 720px) {
  .mod {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.mod .num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 6px;
}
@media (max-width: 720px) {
  .mod .num {
    padding-top: 0;
    margin-bottom: 8px;
  }
}
.mod-body {
  min-width: 0;
}
.mod-body p {
  max-width: 62ch;
  font-size: 17px;
}
.route {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-soft);
  margin: 0 0 14px;
  /* long routes must not push the page wide on a narrow phone */
  overflow-wrap: anywhere;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.tag {
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 5px 9px;
}

/* ---------- figures ---------- */
figure.shot {
  margin: 26px 0 0;
  border: 1px solid var(--hairline);
  background: var(--white);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27, 30, 36, 0.04);
}
figure.shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* the hero visual sits on the page rather than inside the text column */
figure.shot.wide {
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(27, 30, 36, 0.12);
}
figure.shot.has-img {
  cursor: zoom-in;
}
figure.shot.has-img:hover {
  border-color: var(--gray-soft);
}
figure.shot .expand {
  position: absolute;
  border-radius: var(--radius);
  top: 10px;
  right: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 6px 10px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
figure.shot.has-img:hover .expand,
figure.shot.has-img:focus-within .expand {
  opacity: 1;
}
figure.shot figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-soft);
}
figure.shot figcaption .fignum {
  color: var(--accent);
  font-weight: 600;
}
/* the whole figure is the button; keep it keyboard reachable */
figure.shot .hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: transparent;
}

/* A phone capture is 780px wide; letting it fill the figure would blow it up
   to five times life size. Sit it on a panel instead, at a sane width. */
figure.shot.phone,
figure.shot.phones {
  background: var(--panel);
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 28px 20px;
  flex-wrap: wrap;
}
figure.shot.phone img,
figure.shot.phones img {
  width: 262px;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(27, 30, 36, 0.1);
}
figure.shot.phone figcaption,
figure.shot.phones figcaption {
  flex: 1 0 100%;
  margin: 4px -20px -28px;
  background: var(--white);
}
@media (max-width: 560px) {
  figure.shot.phones img {
    width: 220px;
  }
}

/* placeholder slot, rendered when a figure has no image yet */
.ph {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 11px,
      var(--ink-wash) 11px,
      var(--ink-wash) 22px
    ),
    var(--panel);
}
.ph b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}
.ph i {
  font-style: normal;
  font-size: 13.5px;
  color: var(--gray-soft);
  max-width: 48ch;
  line-height: 1.5;
}
.ph code {
  font-family: var(--mono);
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 2px 6px;
}

/* ---------- build stack ---------- */
.stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 0;
  border-top: 2px solid var(--rule);
}
@media (max-width: 900px) {
  .stack {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stack {
    grid-template-columns: 1fr;
  }
}
.cell {
  padding: 22px 32px 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.cell dt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.cell dd {
  margin: 0;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.5;
}
@media (min-width: 901px) {
  .cell:not(:nth-child(3n + 1)) {
    padding-left: 32px;
    border-left: 1px solid var(--hairline);
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  .cell:not(:nth-child(2n + 1)) {
    padding-left: 32px;
    border-left: 1px solid var(--hairline);
  }
}

/* ---------- controls ledger ----------
   Label on the left, the statement itself carrying the weight on the right,
   hairline between rows. The load-bearing term in each statement takes the
   accent so the section can be skimmed on the highlights alone. */
.ledger {
  margin-top: 44px;
  border-top: 2px solid var(--rule);
}
.lrow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 720px) {
  .lrow {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
}
.lrow .k {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-soft);
  line-height: 1.5;
  padding-top: 6px;
}
@media (max-width: 720px) {
  .lrow .k {
    padding-top: 0;
  }
}
.lrow .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.34;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: pretty;
}
.lrow .v em {
  font-style: normal;
  color: var(--accent);
}
/* the unresolved row stays visually flagged so it cannot ship unnoticed */
.lrow.open .v {
  color: var(--gray);
}
.lrow.open .v strong {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---------- close ---------- */
.close {
  background: var(--ink);
  color: #fff;
  border-bottom: none;
  padding: clamp(80px, 10vw, 128px) 0;
}
.close .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}
.close .eyebrow .idx {
  /* full-strength red is too dark to read on the ink field */
  color: color-mix(in srgb, var(--accent) 78%, white);
}
.close .eyebrow .bar-rule {
  background: color-mix(in srgb, var(--accent) 78%, white);
}
.close-in {
  max-width: 56ch;
}
.close p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  max-width: 54ch;
}
.close p strong {
  color: #fff;
}
/* must outrank `.close p` above, so it comes after and carries the extra class */
.close p.close-line {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 28px;
  max-width: none;
}
.cta {
  display: inline-block;
  border-radius: var(--radius);
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 15px 26px;
  transition: opacity 0.15s;
}
.cta:hover {
  opacity: 0.88;
}
.close .cta:focus-visible {
  outline-color: #fff;
}

/* ---------- footer ---------- */
footer {
  padding: 34px 0 56px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.foot .r {
  margin-left: auto;
}
@media (max-width: 720px) {
  .foot .r {
    margin-left: 0;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(27, 30, 36, 0.985);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.18s ease;
}
#lb.on {
  display: block;
}
#lb.vis {
  opacity: 1;
}

#lb .lb-stage {
  position: absolute;
  inset: 56px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* rendered visuals fill the stage width, so pull the edges in to clear
   the prev/next arrows */
#lb .lb-stage.viz-mode {
  inset: 56px 72px 60px;
}
@media (max-width: 680px) {
  #lb .lb-stage.viz-mode {
    inset: 56px 10px 60px;
  }
}
#lb .lb-stage.actual {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: grab;
  scrollbar-width: thin;
}
#lb .lb-stage.actual.dragging {
  cursor: grabbing;
}
#lb .lb-stage.actual::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#lb .lb-stage.actual::-webkit-scrollbar-thumb {
  background: var(--gray);
  border-radius: 5px;
}

#lb img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-2);
  background: var(--white);
  cursor: zoom-in;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}
#lb .lb-stage.actual img {
  max-width: none;
  max-height: none;
  cursor: inherit;
  box-shadow: none;
}

/* an enlarged product visual fills the stage; its container queries
   re-expand the columns that were dropped at figure width */
#lb .viz-big {
  width: 100%;
  max-height: 100%;
  overflow: auto;
  border: 1px solid var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
  scrollbar-width: thin;
}

#lb .lb-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
#lb .lb-count {
  color: color-mix(in srgb, var(--accent) 78%, white);
  font-weight: 600;
}
#lb .lb-title {
  color: #fff;
  letter-spacing: 0.1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#lb .lb-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
#lb button {
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 12px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}
#lb button:hover {
  border-color: var(--accent);
  color: #fff;
}
#lb button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#lb .lb-bot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
#lb .lb-hint {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.35);
}
@media (max-width: 680px) {
  #lb .lb-hint {
    display: none;
  }
  #lb .lb-stage {
    inset: 56px 10px 60px;
  }
}

#lb .nav {
  border-radius: var(--radius);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 30, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition:
    border-color 0.15s,
    color 0.15s;
}
#lb .nav:hover {
  color: #fff;
  border-color: var(--accent);
}
#lb .prev {
  left: 14px;
}
#lb .next {
  right: 14px;
}
/* arrows sit over the image and would block panning at 1:1 */
#lb.zoomed .nav {
  display: none;
}

/* ---------- print ---------- */
@media print {
  .bar,
  #lb,
  .cta,
  .expand,
  .hit {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .close {
    background: #fff;
    color: var(--ink);
  }
  .close-line,
  .close p {
    color: var(--ink);
  }
  .mod,
  figure.shot {
    break-inside: avoid;
  }
}
