/* =========================================================================
   Juntos — stylesheet
   Palette: soft lilac paper, plum ink, one sage accent for currency badges.
   Type:    Newsreader (display / headings) + Nunito Sans (everything else).
   ====================================================================== */

:root {
  --paper:      #faf8fe;
  --paper-deep: #f2eefb;
  --card:       #ffffff;

  --plum-900:   #33265a;
  --plum-700:   #4c3a7d;
  --plum-600:   #5c4890;
  --plum-400:   #8d79bf;
  --plum-300:   #b3a2dc;
  --plum-100:   #e9e1f8;
  --plum-050:   #f4effc;

  --ink:        #474262;
  --ink-soft:   #6b6686;
  --ink-faint:  #948fac;

  --sage-100:   #d8efe2;
  --sage-700:   #2c7350;
  --rose-100:   #fbe4ec;
  --rose-700:   #a13d64;

  --line:       #e7e1f4;
  --line-soft:  #f0ebfa;

  --shadow-xs:  0 1px 2px rgba(51, 38, 90, .05);
  --shadow-sm:  0 1px 2px rgba(51, 38, 90, .05), 0 10px 24px -14px rgba(51, 38, 90, .22);
  --shadow-md:  0 2px 4px rgba(51, 38, 90, .05), 0 22px 44px -24px rgba(51, 38, 90, .30);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --shell: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

/* ---------- reset ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2.5px solid var(--plum-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  background: var(--plum-700);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skiplink:focus { left: 0.75rem; }

/* ---------- headings ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--plum-900);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--plum-700);
}

.h-section {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.12;
  color: var(--plum-700);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--plum-400);
  margin: 0 0 .85rem;
}

.lede {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 1rem 0 0;
}

.prose p { margin: 0 0 1.15em; max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--plum-700);
  margin: 2rem 0 .7rem;
  letter-spacing: 0;
}
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.15em; padding-left: 1.1em; max-width: 64ch; }
.prose li { margin-bottom: .35em; }
.prose strong { font-weight: 700; color: var(--plum-900); }

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.masthead[data-stuck="true"] { border-bottom-color: var(--line); }

.masthead__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .85rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--plum-700);
  flex: 0 0 auto;
}
.brand__mark {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linejoin: round;
}
.brand__word {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.tabbar {
  display: flex;
  gap: .15rem;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.tabbar::-webkit-scrollbar { display: none; }

.tab {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-size: .9375rem;
  transition: background-color .16s ease, color .16s ease;
}
.tab:hover { color: var(--plum-700); background: var(--plum-050); }
.tab[aria-selected="true"] {
  background: var(--plum-700);
  color: #fff;
  font-weight: 600;
}

.langswitch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--plum-700);
  padding: .42rem .8rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, transform .16s ease;
}
.langswitch:hover { border-color: var(--plum-300); }
.langswitch:active { transform: translateY(1px); }
.langswitch__globe {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}

/* ---------- stage & panels ---------- */

.stage {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 5rem;
  min-height: 60vh;
}

.stage__loading {
  color: var(--ink-faint);
  font-size: .9375rem;
}

.panel[hidden] { display: none; }
.panel { animation: panel-in .28s ease both; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- about ---------- */

.about__title { margin-bottom: 2.25rem; }

.block {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
.block:last-child { margin-bottom: 0; }

.block--image-right { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.block--image-left  { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.block--image-left .block__text { order: 2; }
.block--image-left .block__media { order: 1; }
.block--image-full, .block--text-only { grid-template-columns: minmax(0, 1fr); }
.block--image-full .block__media { max-width: 100%; }

.block__heading {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin-bottom: 1.4rem;
}

.block__media {
  position: sticky;
  top: 6rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.block--image-full .block__media { position: static; }

.block__media img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.placeholder {
  border: 1.5px dashed var(--plum-300);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #f3ecfd 0%, #eef0fb 48%, #e9f5ef 100%);
  min-height: 300px;
  display: grid;
  place-content: center;
  gap: .6rem;
  justify-items: center;
  color: var(--plum-400);
  font-size: .875rem;
}
.placeholder svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- help timeline ---------- */

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .75rem;
  bottom: .75rem;
  width: 1px;
  background: linear-gradient(var(--line-soft), var(--line) 12%, var(--line) 88%, var(--line-soft));
}

.tl-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
  align-items: start;
}
.tl-item + .tl-item { margin-top: -2rem; }

.tl-dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 11px;
  height: 11px;
  margin-top: 1.9rem;
  border-radius: 50%;
  background: var(--plum-600);
  box-shadow: 0 0 0 5px var(--paper);
}

.tl-card {
  grid-row: 1;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-sm);
}
.tl-item:nth-child(odd)  .tl-card { grid-column: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }

/* Left-hand cards mirror their header so it reads towards the spine,
   while the body text stays left-aligned for readability. */
.tl-item:nth-child(odd) .tl-card__head { align-items: flex-end; text-align: right; }

.tl-card__head {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: 1.15rem;
}
.tl-card__index {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--plum-300);
}
.tl-card__title { font-size: 1.5rem; }

/* ---------- donate ---------- */

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.pay {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.pay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.pay__icon {
  width: 42px; height: 42px;
  display: grid;
  place-content: center;
  border-radius: 13px;
  background: var(--plum-100);
  color: var(--plum-700);
}
.pay__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.pay__badge {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .28rem .6rem;
  border-radius: var(--r-pill);
  background: var(--sage-100);
  color: var(--sage-700);
  white-space: nowrap;
}

.pay__title { font-size: 1.5rem; }
.pay__desc { margin: 0; font-size: .9375rem; color: var(--ink-soft); line-height: 1.6; }

.pay__value {
  margin-top: auto;
  background: var(--plum-050);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: .8rem .9rem;
}
.pay__value-label {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum-400);
  margin-bottom: .3rem;
}
.pay__value-text {
  font-family: var(--mono);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--plum-900);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  user-select: all;
}
.pay__value--empty .pay__value-text { font-family: var(--sans); color: var(--ink-faint); user-select: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: var(--r-pill);
  padding: .78rem 1.35rem;
  font-size: .9375rem;
  font-weight: 700;
  background: var(--plum-700);
  color: #fff;
  box-shadow: var(--shadow-xs);
  transition: background-color .16s ease, transform .12s ease, opacity .16s ease;
}
.btn:hover { background: var(--plum-600); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn--block { width: 100%; }
.btn--quiet {
  background: var(--card);
  color: var(--plum-700);
  border: 1px solid var(--line);
}
.btn--quiet:hover { background: var(--plum-050); }
.btn--danger { background: var(--rose-100); color: var(--rose-700); }
.btn--danger:hover { background: #f7d6e3; }
.btn--sm { padding: .42rem .8rem; font-size: .8125rem; }
.btn--done { background: var(--sage-700); }

/* ---------- wall ---------- */

.wall {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.wall__form {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 6rem;
}

.field { margin-bottom: .9rem; }
.field > label {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--plum-700);
  margin-bottom: .35rem;
}

.input, .textarea, .select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .7rem .9rem;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--ink);
  transition: border-color .16s ease, background-color .16s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--plum-300);
  background: var(--card);
}
.textarea { min-height: 128px; resize: vertical; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1rem 0 1.2rem;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input {
  width: 18px; height: 18px;
  margin: .18rem 0 0;
  accent-color: var(--plum-700);
  flex: 0 0 auto;
}

.formnote { margin: .9rem 0 0; font-size: .8125rem; line-height: 1.5; }
.formnote--ok { color: var(--sage-700); }
.formnote--error { color: var(--rose-700); }

.notes { display: grid; gap: 1rem; }

.note {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-xs);
  border-left: 3px solid var(--plum-100);
}
.note__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .4rem;
}
.note__name { font-family: var(--serif); font-size: 1.1rem; color: var(--plum-700); }
.note__date { font-size: .75rem; color: var(--ink-faint); white-space: nowrap; }
.note__body { margin: 0; font-size: .9375rem; line-height: 1.65; white-space: pre-wrap; }

.wall__empty {
  color: var(--ink-faint);
  font-size: .9375rem;
  padding: 1.5rem 0;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8125rem;
  color: var(--ink-faint);
}
.footer__brand { font-family: var(--serif); font-size: 1rem; color: var(--plum-400); }
.footer__admin { color: var(--ink-faint); text-decoration: none; }
.footer__admin:hover { color: var(--plum-700); text-decoration: underline; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--plum-900);
  color: #fff;
  padding: .65rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  box-shadow: var(--shadow-md);
  animation: toast-in .2s ease both;
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* =========================================================================
   Admin
   ====================================================================== */

.admin-body { background: var(--paper-deep); }

.gate {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
}
.gate__card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  width: min(400px, 100%);
}
.gate__title { font-size: 1.7rem; margin-bottom: .4rem; }
.gate__hint { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1.5rem; }

.adminbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper-deep) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.adminbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .75rem var(--gutter);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.adminbar__title { font-family: var(--serif); font-size: 1.15rem; color: var(--plum-700); margin-right: auto; }

.subtabs { display: flex; gap: .15rem; flex-wrap: wrap; }
.subtab {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .4rem .85rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
}
.subtab:hover { background: var(--plum-050); color: var(--plum-700); }
.subtab[aria-selected="true"] { background: var(--plum-700); color: #fff; font-weight: 600; }

.adminmain {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 2rem var(--gutter) 7rem;
}

.editor-section + .editor-section { margin-top: 2.25rem; }
.editor-title {
  font-size: 1.35rem;
  margin-bottom: .25rem;
}
.editor-help {
  font-size: .8125rem;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
  max-width: 68ch;
  line-height: 1.6;
}

.ecard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.ecard__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line-soft);
}
.ecard__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum-400);
  margin-right: auto;
}
.ecard__tools { display: flex; gap: .35rem; }

.iconbtn {
  width: 30px; height: 30px;
  display: grid; place-content: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 9px;
  color: var(--ink-soft);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.iconbtn:hover { color: var(--plum-700); border-color: var(--plum-300); background: var(--plum-050); }
.iconbtn--danger:hover { color: var(--rose-700); border-color: var(--rose-700); background: var(--rose-100); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pairgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin-bottom: .9rem;
}
.pairgrid--single { grid-template-columns: 1fr; }
.pairfield > label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--plum-700);
  margin-bottom: .3rem;
}
.flagtag {
  font-size: .625rem;
  letter-spacing: .08em;
  background: var(--plum-100);
  color: var(--plum-700);
  border-radius: var(--r-pill);
  padding: .1rem .42rem;
}

.mediarow {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: .9rem;
}
.thumb {
  width: 116px; height: 116px;
  border-radius: var(--r-md);
  border: 1px dashed var(--plum-300);
  background: var(--plum-050);
  display: grid; place-content: center;
  overflow: hidden;
  color: var(--plum-300);
  font-size: .7rem;
  text-align: center;
  padding: .4rem;
}
.thumb img { width: 116px; height: 116px; object-fit: cover; }

.savebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: .8rem var(--gutter);
}
.savebar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.savebar__status { font-size: .8125rem; color: var(--ink-faint); margin-right: auto; }
.savebar__status[data-state="dirty"] { color: var(--plum-700); font-weight: 700; }
.savebar__status[data-state="error"] { color: var(--rose-700); font-weight: 700; }

.msg-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  margin-bottom: .75rem;
}
.msg-row__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.msg-row__name { font-family: var(--serif); font-size: 1.05rem; color: var(--plum-700); }
.msg-row__date { font-size: .75rem; color: var(--ink-faint); }
.msg-row__tools { margin-left: auto; display: flex; gap: .35rem; }
.msg-row__body { margin: 0; font-size: .9375rem; line-height: 1.6; white-space: pre-wrap; }

.tag {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .18rem .55rem;
  border-radius: var(--r-pill);
}
.tag--public { background: var(--sage-100); color: var(--sage-700); }
.tag--private { background: var(--plum-100); color: var(--plum-700); }
.tag--hidden { background: var(--rose-100); color: var(--rose-700); }

.switchrow {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.switchrow:last-of-type { border-bottom: 0; }
.switchrow input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--plum-700); flex: 0 0 auto; }
.switchrow__text strong { display: block; font-size: .9375rem; color: var(--plum-900); }
.switchrow__text span { font-size: .8125rem; color: var(--ink-soft); line-height: 1.55; }

.empty-state {
  color: var(--ink-faint);
  font-size: .9375rem;
  padding: 2rem 0;
}

.stackrow { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* =========================================================================
   Responsive
   ====================================================================== */

@media (max-width: 900px) {
  .wall { grid-template-columns: minmax(0, 1fr); }
  .wall__form { position: static; }
  .block--image-right, .block--image-left { grid-template-columns: minmax(0, 1fr); }
  .block--image-left .block__text { order: 1; }
  .block--image-left .block__media { order: 2; }
  .block__media { position: static; }
  .placeholder { min-height: 220px; }

  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 16px minmax(0, 1fr); column-gap: 1.1rem; }
  .tl-item + .tl-item { margin-top: 1rem; }
  .tl-dot { grid-column: 1; justify-self: start; margin-top: 1.7rem; }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card { grid-column: 2; }
  .tl-item:nth-child(odd) .tl-card__head { align-items: flex-start; text-align: left; }

  .mediarow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .masthead__inner { flex-wrap: wrap; row-gap: .6rem; }
  .tabbar { order: 3; width: 100%; margin: 0; }
  .langswitch { margin-left: auto; }
  .pairgrid { grid-template-columns: 1fr; }
  .savebar__inner { flex-wrap: wrap; }
}

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