/* ============================================================
   Travel & Musings — Base styles
   Tokens, reset, typography, shared layout primitives
   ============================================================ */

/* ---- Branded image fallback (any image that fails to load) ---- */
.img-fallback {
  background: var(--cream-deep);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  overflow: hidden;
  color: #9a90b0;
  text-align: center;
  padding: 1rem;
}
.img-fallback__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.9;
}
.img-fallback__wm {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.img-fallback__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

/* ---- Page loader (covers content until the real post is ready — no wrong-content flash) ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream, #e7ecf1);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader__inner { display: grid; gap: 1.4rem; justify-items: center; }
.page-loader__spinner {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  border-top-color: var(--accent);
  animation: pl-spin 0.8s linear infinite;
}
.page-loader__wm {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9a90b0;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .page-loader__spinner { animation: none; } }

/* ---- Tokens ---- */
:root {
  /* Cool greyish-blue palette — very light, quiet luxury */
  --cream:        #e7ecf1;  /* base bg — soft bluish-grey (Director likes this on the front) */
  --cream-deep:   #d8dee6;  /* deeper bg accents */
  --paper:        #f3f6f9;  /* lighter card / panel */
  --ink:          #1f2733;  /* cool slate ink */
  --ink-soft:     #3e4856;
  --muted:        #6b7785;
  --tan:          #93a0b0;  /* mid cool */
  --tint:         #c5cdd7;  /* light cool */
  --rule:         rgba(31, 39, 51, 0.14);
  --rule-strong:  rgba(31, 39, 51, 0.32);

  /* Single bright accent — muted mulberry, the bridge between
     Travel's magenta and Musings' sage */
  --accent:       #9c4e6b;
  --accent-soft:  #e2c7d2;

  /* Typography */
  --serif: "Newsreader", "Iowan Old Style", "Palatino", Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Density (Tweakable) */
  --density: 1;            /* 1 = airy, 0.7 = compact */
  --gutter: calc(2rem * var(--density));
  --section-y: calc(7rem * var(--density));

  /* Type scale — minimum 16px enforced everywhere */
  --fs-cap:    0.9375rem;   /* 15px (was 14px) — Director's +1px readability bump for JetBrains Mono */
  --fs-base:   1.0625rem;  /* 17px */
  --fs-lg:     1.1875rem;  /* 19px */
  --fs-xl:     1.5rem;     /* 24px */
  --fs-2xl:    2.25rem;    /* 36px */
  --fs-3xl:    3.5rem;     /* 56px */
  --fs-4xl:    5rem;       /* 80px */
  --fs-5xl:    7.5rem;     /* 120px */

  /* Motion (Tweakable) */
  --motion: 1;             /* 1 = on, 0 = off */
  --t-fast: calc(180ms * var(--motion) + 1ms);
  --t-base: calc(360ms * var(--motion) + 1ms);
  --t-slow: calc(720ms * var(--motion) + 1ms);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* Enforce minimum readable size for ALL body copy / labels */
body, p, li, a, button, input, textarea, select, label, dd, dt, figcaption {
  font-size: max(1rem, var(--fs-base));
}
/* Mono labels may sit at 14px because uppercase + letter-spaced reads larger */
.mono, .meta, .label, .caption-mono { font-size: var(--fs-cap); }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---- Base typography ---- */
html { color: var(--ink); }
body {
  background: var(--cream);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 14;
  line-height: 1.55;
  font-size: var(--fs-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-variation-settings: "opsz" 36; }
h2 { font-variation-settings: "opsz" 28; }

.mono, .meta, .label {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.italic-display {
  font-style: italic;
  font-variation-settings: "opsz" 36;
}

/* ---- Layout ---- */
.wrap {
  width: min(1340px, 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(720px, 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
}

section { padding-block: var(--section-y); }

/* ---- Top masthead (shared) ---- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
}
.masthead__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  font-variation-settings: "opsz" 18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.masthead__brand small {
  font-family: var(--mono);
  font-style: normal;
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.6rem;
}
.masthead__nav {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
}
.masthead__nav a {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3rem;
}
.masthead__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--accent);
  transition: right var(--t-base) var(--ease);
}
.masthead__nav a:hover::after,
.masthead__nav a[aria-current="page"]::after { right: 0; }
.masthead__nav a[aria-current="page"] { color: var(--ink); }

.masthead__meta {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.masthead__meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: pulse calc(3000ms * var(--motion) + 1ms) ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.1); }
}

/* Mobile masthead */
.masthead__toggle { display: none; }
@media (max-width: 760px) {
  .masthead__inner { grid-template-columns: 1fr auto; }
  .masthead__meta  { display: none; }
  .masthead__nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-block: 0.8rem 1.2rem;
    border-top: 1px solid var(--rule);
  }
  .masthead.is-open .masthead__nav { display: flex; }
  .masthead__nav a { font-size: 1.25rem; letter-spacing: 0.04em; text-transform: none; font-family: var(--serif); font-style: italic; }
  .masthead__nav a::after { display: none; }
  .masthead__toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
  }
  .masthead__toggle span {
    width: 14px; height: 1px; background: var(--ink); position: relative;
  }
  .masthead__toggle span::before,
  .masthead__toggle span::after {
    content: ""; position: absolute; left: 0;
    width: 14px; height: 1px; background: var(--ink);
  }
  .masthead__toggle span::before { top: -4px; }
  .masthead__toggle span::after  { top:  4px; }
}

/* ---- Section markers (numbered, magazine style) ---- */
.section-mark {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1.5rem;
  padding-bottom: 1.2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink);
}
.section-mark__num {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.14em;
  color: var(--accent);
}
.section-mark__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 36;
  line-height: 1;
}
.section-mark__meta {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 600px) {
  .section-mark { grid-template-columns: 1fr; gap: 0.8rem; }
  .section-mark__meta { order: 3; }
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 5rem 2rem;
  margin-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  font-variation-settings: "opsz" 36;
}
.footer__tag {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tint);
  margin-top: 1.4rem;
  line-height: 1.6;
}
.footer h4 {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { color: var(--cream); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color var(--t-fast) var(--ease); }
.footer a:hover { border-color: var(--accent); }
.footer__sub {
  grid-column: 1 / -1;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 235, 220, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint);
}
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { font-size: 2rem; }
  .footer__sub { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Image placeholder (used when no image) ---- */
.img-ph {
  background:
    repeating-linear-gradient(135deg,
      var(--tint) 0 12px,
      var(--cream-deep) 12px 24px);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: var(--fs-cap);
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}

/* ---- Reveal on scroll (subtle) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(calc(18px * var(--motion)));
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---- Buttons / Links ---- */
.btn-text {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.6rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: gap var(--t-base) var(--ease), border-color var(--t-fast);
}
.btn-text:hover { gap: 1.1rem; border-color: var(--accent); color: var(--accent); }
.btn-text .arr { display: inline-block; transition: transform var(--t-base) var(--ease); }
.btn-text:hover .arr { transform: translateX(4px); }

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0; }
  * { animation: none !important; transition-duration: 1ms !important; }
}

/* ---- Selection ---- */
::selection { background: var(--accent); color: var(--paper); }

/* ============================================================
   THEMES — body[data-theme] swaps tokens.
   - default (no attr / data-theme="master"): cool grey-blue + violet
     used on the landing "pick a door" page
   - data-theme="travel": same master palette, with light warm tilt
     on paper + a touch deeper ink. Travel is already the photo-forward
     voice of the design system — minimal token shift.
   - data-theme="musings": paper-white, deeper ink, muted sage accent.
     Even airier density. Narrower measure. Less ornament.
   ============================================================ */

/* TRAVEL — midnight ground, persimmon splash. Photo-forward + bold. */
body[data-theme="travel"] {
  --cream:        #e7ecf1;          /* bluish-grey — match the front (Director) */
  --cream-deep:   #d8dee6;
  --paper:        #f3f6f9;          /* lifted card */
  --ink:          #15151a;          /* near-black slate */
  --ink-soft:     #2c2c33;
  --muted:        #6a6a73;
  --tan:          #8c8c95;
  --tint:         #c4c4cc;
  --rule:         rgba(21, 21, 26, 0.14);
  --rule-strong:  rgba(21, 21, 26, 0.32);
  --accent:       #ff3d77;          /* hot magenta splash */
  --accent-soft:  #ffc4d6;
}

/* On the dark Travel theme, a few component tweaks so it reads correctly */
body[data-theme="travel"] .masthead {
  background: color-mix(in oklab, var(--cream) 90%, transparent);
}
/* Featured tag stays magenta on light */
body[data-theme="travel"] .feature__tag {
  background: var(--accent);
  color: #ffffff;
}

/* MUSINGS — paper, ink, sage. Slower air. */
body[data-theme="musings"] {
  --cream:        #e7ecf1;          /* bluish-grey — match the front (Director) */
  --cream-deep:   #d8dee6;
  --paper:        #f3f6f9;
  --ink:          #14131a;          /* near-black with slight warmth */
  --ink-soft:     #3a3946;
  --muted:        #6e6c7a;
  --tan:          #9b99a6;
  --tint:         #d6d3da;
  --rule:         rgba(20, 19, 26, 0.12);
  --rule-strong:  rgba(20, 19, 26, 0.30);
  --accent:       #4f6450;          /* muted forest / sage */
  --accent-soft:  #c6d2c5;

  /* even airier */
  --section-y: calc(8.5rem * var(--density));
}

/* Theme-specific masthead identity strip */
.masthead__volume {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.8rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--rule-strong);
}
.masthead__volume strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  margin-left: 0.35rem;
  font-size: 1.05rem;
}
@media (max-width: 760px) { .masthead__volume { display: none; } }

/* Subtle "Volume" badge used at top of section pages */
.vol-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.vol-mark::before {
  content: "";
  width: 36px; height: 1px; background: var(--accent);
}
.vol-mark em {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Quiet "Return to the desk" link in mastheads */
.masthead__return {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--t-fast);
}
.masthead__return:hover { color: var(--accent); }
.masthead__return .arr { display: inline-block; transition: transform var(--t-base) var(--ease); }
.masthead__return:hover .arr { transform: translateX(-3px); }

/* ============================================================
   BRIDGE — cross-room recommendation block
   Placed at the end of an article / journal entry to nudge
   readers toward a thematically-linked piece in the OTHER notebook.
   Works on both Travel (dark) and Musings (light) themes via tokens.
   ============================================================ */
.bridge {
  display: block;
  position: relative;
  width: min(960px, 100% - calc(var(--gutter) * 2));
  margin: 5rem auto 0;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}
.bridge::before {
  /* a faint cross-mark in the corner, signalling "across" */
  content: "×";
  position: absolute;
  top: 0.8rem; right: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.bridge__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.bridge__label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.bridge__label em {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-size: 1.1rem;
}

.bridge__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: end;
}
.bridge__body {
  display: grid;
  gap: 0.8rem;
}
.bridge__hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 20;
  max-width: 44ch;
}
.bridge__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 28;
  color: var(--ink);
  transition: color var(--t-base) var(--ease);
  text-wrap: pretty;
}
.bridge__title em { font-style: italic; }
.bridge:hover .bridge__title { color: var(--accent); }

.bridge__meta {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.bridge__meta .dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.bridge__cta {
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  white-space: nowrap;
  transition: gap var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.bridge__cta .arr { display: inline-block; transition: transform var(--t-base) var(--ease); }
.bridge:hover .bridge__cta {
  gap: 1.2rem;
  color: var(--accent);
  border-color: var(--accent);
}
.bridge:hover .bridge__cta .arr { transform: translateX(4px); }

@media (max-width: 760px) {
  .bridge__inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Modifier: when this bridge points to a *specific* sibling notebook,
   tint the accent dot/label with that notebook's color, so the reader
   sees "this points to the GREEN room" or "this points to the PINK room"
   at a glance. */
.bridge--to-musings { --accent: #4f6450; --accent-soft: #c6d2c5; }
.bridge--to-travel  { --accent: #ff3d77; --accent-soft: #ffc4d6; }

/* ============================================================
   MARGINALIA BUBBLES — inline image anchors in article + journal bodies.
   Desktop: bubble floats into the right gutter, aligned to its line.
   Phone (<900px): bubble degrades to inline-right-after-the-anchor.
   ============================================================ */
.marg-host { position: relative; }
@media (min-width: 900px) {
  .marg-host { padding-right: 140px; }
}

.marg-anchor          { padding: 0 2px; border-radius: 2px; }
.marg-anchor--travel  { background: rgba(233, 30, 140, 0.18); }
.marg-anchor--musings { background: rgba(110, 158, 110, 0.22); }

.marg-bubble {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 0 0 4px;
  padding: 0;
  transition: transform 120ms ease;
}
.marg-bubble:hover  { transform: scale(1.12); }
.marg-bubble:focus  { outline: 2px solid currentColor; outline-offset: 2px; }
.marg-bubble--travel  { background: #e91e8c; }
.marg-bubble--musings { background: #6e9e6e; }

@media (min-width: 900px) {
  .marg-host .marg-bubble {
    position: absolute;
    right: 32px;
    margin: 0;
  }
}

/* Lightbox */
.marg-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20, 19, 26, 0.86);
  display: none; place-items: center;
  cursor: zoom-out;
  padding: 2rem;
}
.marg-lightbox.is-open { display: grid; }
.marg-lightbox__card {
  max-width: min(960px, 92vw);
  display: grid; gap: 0.9rem;
  cursor: default;
}
.marg-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
}
.marg-lightbox__cap {
  color: #f4f1ea;
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  margin: 0;
}
.marg-lightbox__close {
  position: fixed; top: 1.4rem; right: 1.4rem;
  background: transparent; border: 1px solid rgba(244,241,234,0.5);
  color: #f4f1ea; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.5rem 1rem; cursor: pointer;
}
