/* ────────────────────────────────────────────────────────────────────
   IDI · Dia a Dia — editorial blog
   Design: ink-on-paper magazine, original (not branded), warm neutral
──────────────────────────────────────────────────────────────────── */

/* === TOKENS ====================================================== */
:root {
  /* Paper variants */
  --paper: #f6f3eb;          /* lighter, more modern */
  --paper-2: #ede8db;        /* section variation */
  --paper-3: #fbf9f4;        /* lightest, hero */
  --paper-edge: rgba(20,18,12,.10);

  --ink: #14130f;            /* main text */
  --ink-2: #3a3631;          /* secondary */
  --ink-3: #6b665d;          /* tertiary / meta */
  --ink-mute: #8a847a;       /* very light meta */

  --accent: oklch(0.48 0.16 28);   /* oxblood, slightly brighter */
  --accent-soft: oklch(0.48 0.16 28 / 0.10);
  --accent-2: oklch(0.62 0.15 60); /* warm amber */

  --rule: rgba(20,18,12,0.12);
  --rule-strong: rgba(20,18,12,0.38);

  --serif-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --serif-body: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --content-w: 1320px;
  --gap: 2rem;
  --row-pad: clamp(1.2rem, 4vw, 3rem);
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(20,18,12,0.04), 0 8px 24px rgba(20,18,12,0.05);
  --shadow-2: 0 2px 4px rgba(20,18,12,0.06), 0 16px 48px rgba(20,18,12,0.08);
}

/* Paper tone variations */
body.paper-cool {
  --paper: #ecedea;
  --paper-2: #e3e5e0;
  --paper-edge: rgba(15,18,20,.13);
  --ink: #15171a;
  --ink-2: #353a3f;
  --ink-3: #65696e;
  --rule: rgba(15,18,20,0.16);
}
body.paper-cream {
  --paper: #f6f1e6;
  --paper-2: #f0e8d6;
  --ink: #1c1a14;
}

/* Accent variations */
body.accent-olive   { --accent: oklch(0.46 0.09 95); --accent-soft: oklch(0.46 0.09 95 / 0.14); }
body.accent-ink     { --accent: var(--ink); --accent-soft: rgba(20,18,12,0.10); }

/* Dark mode (inverted) */
body.dark {
  --paper: #14130f;
  --paper-2: #1c1a15;
  --paper-edge: rgba(245,237,220,0.12);
  --ink: #ede5cf;
  --ink-2: #c8c0aa;
  --ink-3: #8c8676;
  --ink-mute: #6d6759;
  --accent: oklch(0.72 0.13 50);     /* warmer accent in dark */
  --accent-soft: oklch(0.72 0.13 50 / 0.14);
  --rule: rgba(237,229,207,0.18);
  --rule-strong: rgba(237,229,207,0.55);
}
body.dark.accent-olive { --accent: oklch(0.74 0.09 95); }
body.dark.accent-ink   { --accent: #ede5cf; --accent-soft: rgba(237,229,207,0.10); }

/* Density */
body.compact { --row-pad: clamp(0.8rem, 3vw, 1.6rem); }

/* === RESET ======================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--paper); }

/* === SHARED ======================================================= */
.rule { height: 1px; width: 100%; background: var(--rule); }
.rule-short { width: 48px; height: 1px; background: var(--rule-strong); }

.kicker {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-block;
}

/* === MASTHEAD ===================================================== */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 5;
}
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.topbar-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0.5rem var(--row-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.topbar-r { justify-self: end; }
.topbar-c { justify-self: center; text-align: center; }
.mode-btn {
  font: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mode-btn:hover { color: var(--accent); border-color: var(--accent); }

.brand {
  padding: 1.4rem var(--row-pad) 1rem;
  max-width: var(--content-w);
  margin: 0 auto;
}
.brand-rule { height: 1px; background: var(--ink); opacity: 0.9; }
.brand-rule-thick { height: 4px; background: var(--ink); margin: 4px 0; opacity: 0.9; }
.brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0 1.4rem;
}
.brand-side {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}
.brand-side-l { text-align: left; max-width: 220px; }
.brand-side-r { text-align: right; max-width: 220px; justify-self: end; }
.brand-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}
.brand-i, .brand-D { display: inline-block; }
.brand-D { letter-spacing: -0.04em; }
.brand-amp {
  display: inline-block;
  color: var(--accent);
  margin: 0 0.18em;
  vertical-align: 0.18em;
  font-size: 0.55em;
}
.brand-italic {
  font-style: italic;
  font-family: var(--serif-display);
  margin-left: 0.18em;
  letter-spacing: -0.01em;
}

.nav-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0.6rem var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 25;
  margin: 0;
}
.nav-rail-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
}
.nav-rail a {
  padding: 0.5rem 0.9rem;
  color: var(--ink-2);
  transition: color 0.2s;
  position: relative;
}
.nav-rail a:hover, .nav-rail a.active { color: var(--accent); }
.nav-rail a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 1px;
  background: var(--rule);
}
.nav-arc { font-style: italic; text-transform: none !important; letter-spacing: 0.05em !important; }

/* === HERO ========================================================= */
.hero {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--row-pad) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.hero-meta {
  border-top: 4px solid var(--ink);
  padding-top: 1rem;
}
.editor-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
  transition: opacity 0.2s;
}
.editor-card:hover { opacity: 0.78; }
.editor-card:hover .editor-ig { color: var(--accent); }
.editor-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(0.1) contrast(1.05);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.editor-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.editor-role {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}
.editor-name {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.editor-ig {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.editor-ig-ic { font-size: 0.9rem; }
.hero-meta .rule-short { margin: 0.9rem 0; }
.hero-date {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}
.hero-rt {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-3);
}

.hero-body { min-width: 0; }
.hero-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-wrap: balance;
  transition: color 0.25s;
}
.hero-title:hover { color: var(--accent); }
.hero-deck {
  font-family: var(--serif-body);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 1.2rem 0 1.6rem;
  max-width: 36em;
  text-wrap: pretty;
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.byline {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.byline-pre { color: var(--ink-3); font-style: italic; }
.byline-name {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.cta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.cta:hover { background: var(--accent); }
.cta-arrow { transition: transform 0.2s; }
.cta:hover .cta-arrow { transform: translateX(3px); }

.hero-pull {
  border-left: 1px solid var(--rule);
  padding: 0.4rem 0 0.4rem 1.6rem;
}
.pull-mark {
  font-family: var(--serif-display);
  font-size: 4.5rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.pull-text {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-pull .rule-short { margin: 1rem 0 0.6rem; }
.pull-attr {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* === FILTER RAIL ================================================== */
.filter-rail {
  position: sticky;
  top: 49px;
  z-index: 20;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.filter-rail-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0.65rem var(--row-pad);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.filter-cats {
  flex: 1;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem 0;
}
.filter-cats::-webkit-scrollbar { display: none; }
.f-pill {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
}
.f-pill:hover { border-color: var(--ink); color: var(--ink); }
.f-pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.f-count {
  font-style: italic;
  font-family: var(--serif-body);
  font-size: 0.85em;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.55;
}
.f-pill.active .f-count { opacity: 0.7; }

.filter-search {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}
.fs-ico {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 0.95rem;
}
.filter-search input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.5rem 2rem 0.5rem 2rem;
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.filter-search input:focus { border-color: var(--ink); }
.filter-search input::placeholder { color: var(--ink-mute); }
.fs-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 1.1rem;
  padding: 0.2rem 0.4rem;
}
.fs-clear:hover { color: var(--accent); }
.filter-result {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0.5rem var(--row-pad);
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-3);
  border-top: 1px solid var(--rule);
}
.filter-result em { font-weight: 600; color: var(--ink); }

/* === MAIN GRID ==================================================== */
.main-grid {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--row-pad);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.main-col { min-width: 0; }

/* === SECONDARY GRID =============================================== */
.sec-grid { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.sec-head .rule { flex: 1; }
.sec-grid-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.sec-card {
  cursor: pointer;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  transition: opacity 0.2s;
}
.sec-card:hover { opacity: 0.7; }
.sec-card:hover .sec-title { color: var(--accent); }
.sec-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sec-cat { color: var(--accent); font-weight: 500; }
.sec-date { color: var(--ink-3); font-style: italic; text-transform: none; letter-spacing: 0.05em; }
.sec-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.sec-card-lead .sec-title { font-size: 2.4rem; }
.sec-deck {
  font-family: var(--serif-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  text-wrap: pretty;
}
.sec-card-lead .sec-deck { font-size: 1.08rem; }
.sec-author {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* === ARTICLE LIST (rule-separated) ================================= */
.list-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
}
.list-head .rule { flex: 1; }

.article-list {
  border-top: 2px solid var(--ink);
}
.list-item {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  align-items: start;
  transition: padding 0.2s;
}
body.compact .list-item { padding: 1.1rem 0; }
.list-item:hover {
  padding-left: 0.6rem;
  background: var(--accent-soft);
}
.list-item:hover .list-title { color: var(--accent); }
.list-item:hover .list-go { color: var(--accent); transform: translateX(4px); }

.list-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink-mute);
  line-height: 1;
  padding-top: 0.15rem;
}
.list-body { min-width: 0; }
.list-meta {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.list-cat { color: var(--accent); font-weight: 500; }
.list-rt, .list-date { font-style: italic; text-transform: none; letter-spacing: 0.04em; }
.list-sep { color: var(--ink-mute); }
.list-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.list-deck {
  font-family: var(--serif-body);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  text-wrap: pretty;
  max-width: 48em;
}
body.compact .list-deck { display: none; }
.list-author {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.list-author em { font-style: normal; color: var(--ink); font-weight: 500; }
.list-go {
  font-size: 1.4rem;
  color: var(--ink-mute);
  transition: color 0.2s, transform 0.2s;
  padding-top: 0.3rem;
  text-align: right;
}

.empty {
  padding: 4rem 1rem;
  text-align: center;
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--ink-3);
}
.empty-mark { font-size: 3rem; opacity: 0.4; margin-bottom: 1rem; font-family: var(--serif-display); }

/* === SIDEBAR ====================================================== */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.widget {
  padding: 1.2rem 0 1.6rem;
  border-top: 2px solid var(--ink);
}
.w-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.w-title em { font-style: italic; color: var(--accent); }

.w-list { list-style: none; counter-reset: w; }
.w-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  align-items: start;
  transition: padding 0.2s;
}
.w-list li:last-child { border-bottom: 0; }
.w-list li:hover { padding-left: 0.4rem; }
.w-list li:hover .w-it-title { color: var(--accent); }
.w-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-mute);
  line-height: 1.1;
}
.w-it-title {
  font-family: var(--serif-display);
  font-size: 1.02rem;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.w-it-meta {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.w-arc { list-style: none; }
.w-arc li {
  display: flex;
  align-items: baseline;
  font-family: var(--serif-display);
  font-size: 1.1rem;
  padding: 0.45rem 0;
  color: var(--ink);
}
.w-arc li .dots {
  flex: 1;
  margin: 0 0.5rem;
  border-bottom: 1px dotted var(--rule-strong);
  transform: translateY(-3px);
}
.w-arc li em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.w-auth { list-style: none; }
.w-auth li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif-body);
  font-size: 0.98rem;
}
.w-auth li:last-child { border: 0; }
.w-auth li em {
  font-family: var(--sans);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.widget-quote {
  background: var(--paper-2);
  padding: 1.4rem 1.2rem;
  border-top: 2px solid var(--accent);
}
.qmark {
  font-family: var(--serif-display);
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.quote {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.9rem;
  text-wrap: pretty;
}
.quote em { font-style: italic; color: var(--accent); }
.quote-attr {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* === NEWSLETTER =================================================== */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  margin-top: 2rem;
}
body.dark .newsletter { background: #08070a; }
.news-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.news-l .kicker { color: oklch(0.65 0.13 50); }
.news-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 1rem 0 1.2rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.news-title em { font-style: italic; color: oklch(0.78 0.13 50); }
.news-deck {
  font-family: var(--serif-body);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  color: oklch(0.85 0 0);
  max-width: 32em;
}

.news-r {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.news-r label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.72 0 0);
  display: block;
  margin-bottom: 0.6rem;
}
.news-input {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 0.6rem;
  align-items: baseline;
}
.news-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paper);
  padding: 0.3rem 0;
}
.news-input input::placeholder { color: rgba(245,237,220,0.35); }
.news-input button {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0.6rem 1.4rem;
  background: oklch(0.55 0.13 30);
  border-radius: 999px;
  transition: background 0.2s;
}
.news-input button:hover { background: oklch(0.65 0.13 50); }
.news-input button:disabled { opacity: 0.5; cursor: wait; }
.news-fine {
  font-family: var(--serif-body);
  font-size: 0.85rem;
  font-style: italic;
  color: oklch(0.65 0 0);
  margin-top: 0.8rem;
  line-height: 1.5;
}
.news-err {
  color: oklch(0.7 0.18 30);
  font-family: var(--serif-body);
  font-style: italic;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}
.news-done {
  font-family: var(--serif-display);
  font-size: 1.4rem;
  color: oklch(0.78 0.13 50);
  text-wrap: balance;
}
.news-done em { font-style: italic; }
.news-done-mark { font-size: 2.5rem; line-height: 1; margin-bottom: 0.6rem; }

/* === COLOPHON (Footer) ============================================ */
.colophon {
  background: var(--paper-2);
  padding: clamp(2.5rem, 5vw, 4rem) var(--row-pad) 1.5rem;
  border-top: 1px solid var(--rule);
}
.col-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.col-logo {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.col-logo em { font-style: italic; color: var(--accent); }
.col-desc {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 28em;
}
.col-links h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}
.col-links ul { list-style: none; }
.col-links li {
  font-family: var(--serif-body);
  font-size: 1rem;
  padding: 0.25rem 0;
}
.col-links a { color: var(--ink); transition: color 0.2s; }
.col-links a:hover { color: var(--accent); }

.col-bottom {
  max-width: var(--content-w);
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.col-bottom .col-verse {
  font-family: var(--serif-display);
  font-style: italic;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--accent);
}

/* === MODAL / READER =============================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,13,10,0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 0;
  animation: ov-in 0.25s ease both;
}
body.dark .overlay { background: rgba(5,5,8,0.7); }
@keyframes ov-in { from { opacity: 0; } to { opacity: 1; } }
.reader {
  background: var(--paper);
  width: 100%;
  max-width: 900px;
  height: 100vh;
  position: relative;
  animation: rd-in 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
@keyframes rd-in { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.reader-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.1s linear;
  z-index: 3;
}
.reader-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.reader-close:hover { color: var(--accent); border-color: var(--accent); }
.rc-x { font-size: 1.2rem; line-height: 1; }

.modal-scroll {
  overflow-y: auto;
  height: 100%;
  scroll-behavior: smooth;
}
.reader-content {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  max-width: 720px;
  margin: 0 auto;
}
.reader-top {
  text-align: center;
  margin-bottom: 2.2rem;
}
.rt-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.reader-top .rule-short { margin: 0 auto 1.5rem; }
.rt-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.rt-deck {
  font-family: var(--serif-body);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.rt-meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.rt-meta em { font-style: normal; color: var(--ink); font-weight: 500; letter-spacing: 0.16em; }
.rt-sep { color: var(--ink-mute); }

.audio-player {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin: 2rem 0 2.5rem;
}
.ap-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  padding-left: 2px;
}
.ap-play:hover { background: var(--accent); transform: scale(1.05); }
.ap-meta { flex: 1; min-width: 0; }
.ap-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}
.ap-bar {
  height: 2px;
  background: var(--rule-strong);
  position: relative;
  margin-bottom: 0.4rem;
}
.ap-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s linear;
}
.ap-times {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.article-body { font-family: var(--serif-body); }
.article-p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.3rem;
  text-wrap: pretty;
  hyphens: auto;
}
.first-p::before { content: none; }
.dropcap {
  font-family: var(--serif-display);
  font-size: 5.2rem;
  line-height: 0.84;
  float: left;
  margin: 0.15rem 0.6rem -0.3rem 0;
  color: var(--accent);
  font-weight: 400;
}

.reader-source {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.reader-source .kicker { display: block; margin-bottom: 0.4rem; }
.reader-source a {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  word-break: break-all;
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 3px;
}
.reader-source a:hover { text-decoration-color: var(--accent); }

.reader-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}
.related-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.related-head .rule { flex: 1; }
.related-head em { color: var(--accent); font-style: italic; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.related-card {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.2s;
}
.related-card:hover { padding-left: 0.4rem; }
.related-card:hover .rc-title { color: var(--accent); }
.rc-date {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.rc-title {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.rc-author {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.7rem;
}
.rc-go {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === BRAND LOGO IMG =============================================== */
.brand-side-l {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  text-align: left !important;
}
.brand-logo-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-2);
  padding: 2px;
}
.brand-side-txt { display: block; }
.brand-flags {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1;
}
.brand-flags .flag {
  filter: saturate(1.05);
  cursor: default;
}
.brand-side-it {
  font-style: italic;
  font-family: var(--serif-body);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 0.95em;
  display: inline-block;
  margin-top: 0.3rem;
}

/* === SECTION TITLE (shared) ======================================= */
.section-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-top: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }

.kicker-accent { color: var(--accent) !important; font-weight: 600; }

.cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.cta-big {
  font-size: 0.85rem;
  padding: 1rem 1.6rem;
  letter-spacing: 0.2em;
}

/* Yakov card */
.coord-card-yakov {
  background: var(--paper-2);
  padding: 1.4rem;
  border-top: 2px solid var(--accent);
}
.yakov-photo { margin-bottom: 1rem; }
.yakov-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 30% 30%;       /* keep Yakov (left) in frame */
  filter: grayscale(0.12) contrast(1.05);
  border: 1px solid var(--rule);
}

.yakov-photo image-slot {
  display: block;
  width: 100%;
  height: 240px;
  border: 1px solid var(--rule);
}

/* Chaim photo (now using the real image) */
.chaim-photo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.12) contrast(1.05);
  border: 1px solid var(--rule);
}

/* Secondary grid (Chaim + Network) — equal columns */
.coord-grid-secondary {
  grid-template-columns: 1fr 1fr !important;
  margin-bottom: 3rem !important;
}
.coord-grid-secondary .coord-card-aside { background: transparent; padding: 0 0 1.4rem; }
.coord-grid-secondary .coord-card-aside .latam-photo image-slot { height: 200px; }

/* Network card */
.coord-card-network {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.latam-network-big { margin: 1rem 0 0; }
.latam-network-big li {
  display: block;
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.latam-network-big li a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 1rem;
  padding: 0.9rem 0;
  transition: padding 0.2s, color 0.2s;
}
.latam-network-big li a:hover { padding-left: 0.5rem; color: var(--accent); }
.latam-network-big li strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  grid-column: 1;
  grid-row: 1;
}
.latam-network-big li em {
  grid-column: 1;
  grid-row: 2;
  font-style: italic;
  color: var(--ink-3);
  font-size: 0.9rem;
  font-family: var(--serif-body);
  margin-top: 0.15rem;
}
.latam-network-big .netarr {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--accent);
  font-size: 1.05rem;
}

/* === BTY SECTION ================================================== */
.bty-section {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bty-inner { max-width: var(--content-w); margin: 0 auto; }

.bty-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.bty-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 1.2rem;
  max-width: 36em;
  text-wrap: pretty;
}
.bty-deck em { color: var(--accent); font-weight: 500; }

.bty-head-r {}
.bty-filter-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.7rem;
}
.bty-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Featured (large) */
.bty-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--ink);
  cursor: pointer;
  transition: opacity 0.2s;
}
.bty-featured:hover { opacity: 0.92; }
.bty-featured:hover .bty-feat-title { color: var(--accent); }
.bty-feat-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-2);
}
.bty-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.02);
  transition: transform 0.6s;
}
.bty-featured:hover .bty-feat-img img { transform: scale(1.03); }
.bty-feat-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}
.bty-feat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bty-feat-meta, .bty-card-meta {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.bty-cat { color: var(--accent); font-weight: 500; }
.bty-sep { color: var(--ink-mute); }
.bty-feat-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.bty-feat-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.bty-feat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.bty-feat-cta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Grid */
.bty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.bty-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s;
}
.bty-card:hover { transform: translateY(-3px); }
.bty-card:hover .bty-card-title { color: var(--accent); }
.bty-card:hover .bty-card-img img { transform: scale(1.04); }
.bty-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--paper-2);
}
.bty-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05);
  transition: transform 0.6s;
}
.bty-card-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.bty-card-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bty-card-author {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bty-card-author em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}
.bty-card-arr { color: var(--accent); font-size: 0.9rem; }

.bty-footer-cta {
  margin-top: 3rem;
  text-align: center;
}
.bty-footer-cta .rule { margin-bottom: 1.5rem; }
.bty-footer-cta .cta { display: inline-flex; }

@media (max-width: 1080px) {
  .bty-head { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .bty-featured { grid-template-columns: 1fr; }
  .bty-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bty-grid { grid-template-columns: 1fr; }
}

/* === COORDINATION ================================================= */
.coord {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  border-top: 1px solid var(--rule);
}
.coord-head { margin-bottom: 2.5rem; }
.coord-head .rule { margin: 0.4rem 0 1.2rem; }

.coord-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.coord-card {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.coord-card-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}
.coord-photo {
  position: relative;
}
.coord-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.15) contrast(1.05);
  border: 1px solid var(--rule);
}
.coord-photo-cap, .latam-photo-cap, .coord-photo-cap {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-top: 0.5rem;
}
.coord-text {}
.coord-name {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 1rem;
  text-wrap: balance;
}
.coord-name-sm { font-size: 1.7rem; }
.coord-bio {
  font-family: var(--serif-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
  text-wrap: pretty;
}
.coord-bio em { font-style: italic; color: var(--accent); }
.coord-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.coord-card-aside {
  background: var(--paper-2);
  padding: 1.4rem;
  border-top: 2px solid var(--accent);
}
.latam-photo {
  margin-bottom: 1rem;
}
.latam-photo image-slot {
  display: block;
  width: 100%;
  height: 220px;
}
.latam-network {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}
.latam-net-title {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.7rem;
}
.latam-network ul { list-style: none; }
.latam-network li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--rule);
  font-family: var(--serif-body);
  font-size: 0.95rem;
}
.latam-network li:last-child { border: 0; }
.latam-network li strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.latam-network li em {
  font-style: italic;
  color: var(--ink-3);
  font-size: 0.88rem;
}

/* Coord photos at bottom */
.coord-photos { margin-top: 1rem; }
.coord-photos-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.cp-fig {
  display: flex;
  flex-direction: column;
}
.cp-fig image-slot {
  display: block;
  width: 100%;
  height: 240px;
  border: 1px solid var(--rule);
}
.cp-fig figcaption {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.5rem;
}
.cp-fig-wide image-slot { height: 240px; }

/* === VIDEOS ======================================================= */
.videos {
  background: var(--paper-2);
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.videos-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}
.videos-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}
.video-stage { min-width: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0907;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-stage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0 0;
  flex-wrap: wrap;
}
.video-stage-title {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-top: 0.3rem;
}

.video-list {
  list-style: none;
  border-top: 2px solid var(--ink);
}
.video-list li {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.2s;
}
.video-list li:hover { padding-left: 0.5rem; }
.video-list li.active {
  padding-left: 0.5rem;
  background: var(--accent-soft);
}
.video-list li.active .vl-title { color: var(--accent); }
.vl-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-mute);
  line-height: 1;
}
.vl-title {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}
.vl-chan {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.vl-go {
  color: var(--accent);
  font-size: 0.85rem;
}

/* === FUNDRAISING ================================================== */
.fundraising {
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  background: var(--paper);
}
.fund-inner { max-width: var(--content-w); margin: 0 auto; }
.fund-head { margin-bottom: 2rem; max-width: 56em; }
.fund-head .rule { margin: 0.4rem 0 1.2rem; }
.fund-deck {
  font-family: var(--serif-body);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 1.4rem;
  text-wrap: pretty;
}
.fund-deck strong {
  font-weight: 600;
  font-style: normal;
  color: var(--accent);
  font-family: var(--serif-display);
  font-size: 1.25em;
}

.fund-card {
  background: var(--paper-2);
  border-top: 4px solid var(--accent);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.fund-numbers {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.fund-divider {
  width: 1px;
  height: 60px;
  background: var(--rule);
}
.fund-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.fund-amount {
  font-family: var(--serif-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fund-amount-goal { color: var(--accent); }
.fund-amount-pct { color: var(--accent); }
.fund-amount-pct span { font-size: 0.55em; opacity: 0.7; margin-left: 0.1em; }

.fund-bar-wrap { margin-bottom: 2rem; }
.fund-bar {
  position: relative;
  height: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: visible;
}
.fund-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--accent);
}
.fund-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 6px,
      rgba(255,255,255,0.12) 6px 7px
    );
}
.fund-bar-marker {
  position: absolute;
  right: -7px;
  top: -6px;
  width: 14px;
  height: 26px;
  background: var(--ink);
  border-radius: 1px;
}
.fund-bar-tick {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 1px;
  background: var(--rule-strong);
  opacity: 0.4;
}
.fund-bar-tick .ftick-l {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.fund-bar-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.fund-buckets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fund-bucket {}
.fund-bucket h4 {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.fund-bucket p {
  font-family: var(--serif-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.fund-donate { text-align: center; }
.fund-donate .kicker { margin-bottom: 1rem; display: block; }
.fund-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.fund-preset {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  transition: all 0.2s;
}
.fund-preset:hover { border-color: var(--ink); }
.fund-preset.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.fund-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
}
.fund-custom span {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.fund-custom input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  width: 80px;
  padding: 0.55rem 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fund-fine {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-3);
  margin-top: 0.8rem;
}

/* === Reader curator credit ======================================== */
.reader-curator {
  font-family: var(--serif-body);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-3);
  margin-top: 0.8rem;
  line-height: 1.45;
}
.reader-curator strong {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-left: 0.3rem;
}

/* === RESPONSIVE patches =========================================== */
@media (max-width: 1080px) {
  .coord-grid { grid-template-columns: 1fr; }
  .coord-card-main { grid-template-columns: 1fr; }
  .coord-photos-grid { grid-template-columns: 1fr 1fr; }
  .cp-fig-wide { grid-column: 1 / -1; }
  .videos-grid { grid-template-columns: 1fr; }
  .fund-numbers { grid-template-columns: 1fr; gap: 1rem; }
  .fund-divider { display: none; }
  .fund-buckets { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 760px) {
  .brand-side-l { justify-content: center; text-align: center !important; }
  .brand-side-l { display: flex !important; }
  .coord-photos-grid { grid-template-columns: 1fr; }
  .coord-photo img { height: 280px; }
  .fund-presets { gap: 0.35rem; }
  .fund-preset { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* === RESPONSIVE =================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { border-top: 0; padding-top: 0; display: flex; gap: 1rem; align-items: center; }
  .hero-meta .rule-short { display: none; }
  .hero-pull { border-left: 0; border-top: 1px solid var(--rule); padding: 1.4rem 0 0; }
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .sec-grid-inner { grid-template-columns: 1fr 1fr; }
  .sec-card-lead { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .brand-row { grid-template-columns: 1fr; padding: 1rem 0; }
  .brand-side-l { display: none; }
  .brand-side-r { display: flex !important; margin-top: 0.5rem; }
  .brand-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .topbar-c { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .filter-rail-inner { flex-direction: column; align-items: stretch; }
  .filter-search { width: 100%; }
  .sec-grid-inner { grid-template-columns: 1fr; }
  .sec-card-lead .sec-title { font-size: 1.8rem; }
  .news-inner { grid-template-columns: 1fr; }
  .col-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .nav-rail a { padding: 0.4rem 0.55rem; font-size: 0.65rem; }
  .list-item { grid-template-columns: 36px 1fr; }
  .list-go { display: none; }
}
@media (max-width: 500px) {
  .col-inner { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .dropcap { font-size: 4rem; }
}


/* ============================================================
   NEW SECTIONS (Prayer · CUFI · Contact) + modern polish
   ============================================================ */

/* ── kicker variants ─────────────────────────────────────── */
.kicker-light { color: rgba(245,237,220,0.62); }
.section-title-light { color: var(--paper); }
.section-title-light em { color: var(--accent-2); }
.bty-deck-light { color: rgba(245,237,220,0.78); }
.bty-deck-light em { color: var(--accent-2); }
.bty-filter-label-light { color: rgba(245,237,220,0.45); }

/* ── CUFI section (dark, modern, with soft blobs) ───────── */
.cufi-section {
  position: relative;
  background: linear-gradient(180deg, #0e0c08 0%, #14110a 100%);
  color: var(--paper);
  padding: clamp(4rem, 7vw, 6rem) var(--row-pad);
  overflow: hidden;
}
.cufi-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cufi-blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}
.cufi-blob-1 {
  background: oklch(0.5 0.18 28);
  top: -180px;
  right: -120px;
}
.cufi-blob-2 {
  background: oklch(0.55 0.14 60);
  bottom: -180px;
  left: -120px;
  opacity: 0.18;
}
.cufi-inner {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  z-index: 1;
}

.f-pill-dark {
  border-color: rgba(245,237,220,0.20);
  color: rgba(245,237,220,0.85);
  background: rgba(245,237,220,0.04);
}
.f-pill-dark:hover {
  border-color: rgba(245,237,220,0.6);
  color: var(--paper);
}
.f-pill-dark.active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.cufi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.cufi-card {
  background: rgba(245,237,220,0.04);
  border: 1px solid rgba(245,237,220,0.10);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.cufi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,237,220,0.28);
  background: rgba(245,237,220,0.06);
}
.cufi-card:hover .cufi-card-title { color: var(--accent-2); }
.cufi-card:hover .cufi-card-img img { transform: scale(1.05); }
.cufi-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1a1813;
}
.cufi-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.20) brightness(0.92) contrast(1.05);
  transition: transform 0.7s;
}
.cufi-card-cat {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(20,18,12,0.65);
  backdrop-filter: blur(6px);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245,237,220,0.20);
}
.cufi-card-body {
  padding: 1.2rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cufi-card-date {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,237,220,0.5);
  margin-bottom: 0.5rem;
}
.cufi-card-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 0.7rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.cufi-card-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(245,237,220,0.72);
  text-wrap: pretty;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cufi-card-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(245,237,220,0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,237,220,0.55);
}
.cufi-card-foot em {
  font-style: normal;
  color: var(--paper);
  font-weight: 500;
}
.cufi-card-go { color: var(--accent-2); }

.cufi-footer-cta {
  margin-top: 3rem;
  text-align: center;
}
.cta-on-dark {
  background: var(--paper);
  color: var(--ink);
}
.cta-on-dark:hover { background: var(--accent-2); color: var(--ink); }

/* ── Prayer Wall ─────────────────────────────────────────── */
.prayer-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--paper-3) 0%, var(--paper) 70%),
    var(--paper);
  padding: clamp(4rem, 7vw, 6rem) var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.prayer-inner { max-width: var(--content-w); margin: 0 auto; }
.prayer-head {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 56em;
  margin-left: auto;
  margin-right: auto;
}
.prayer-head .section-title { margin: 1rem auto; }
.prayer-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 1.4rem auto 0;
  max-width: 42em;
  text-wrap: pretty;
}
.prayer-deck em { color: var(--accent); }

.prayer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

/* Form card */
.prayer-form {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-1);
  position: sticky;
  top: 70px;
}
.pf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.pf-counter {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-3);
}
.pf-counter em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--serif-display);
  font-size: 1.2em;
}
.pf-row { margin-bottom: 1rem; }
.pf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.pf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.pf-field span {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pf-field input,
.pf-field textarea {
  font-family: var(--serif-body);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.pf-field input:focus,
.pf-field textarea:focus {
  border-color: var(--accent);
  background: var(--paper-3);
}
.pf-field input::placeholder,
.pf-field textarea::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.pf-field input:disabled { opacity: 0.5; cursor: not-allowed; }

.pf-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0.5rem 0 1.3rem;
  cursor: pointer;
}
.pf-check em { font-style: italic; color: var(--accent); }
.pf-check input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.prayer-form .cta-big {
  width: 100%;
  justify-content: center;
}

.pf-thanks {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif-body);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: pf-pop 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.pf-thanks em { color: var(--accent); font-weight: 600; }
.pft-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
@keyframes pf-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Prayer book */
.prayer-book {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-1);
  max-height: 720px;
  display: flex;
  flex-direction: column;
}
.pb-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--ink);
  flex-shrink: 0;
}
.pb-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.pb-subtitle em { color: var(--accent); }

.pb-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.4rem;
}
.pb-list::-webkit-scrollbar { width: 6px; }
.pb-list::-webkit-scrollbar-track { background: transparent; }
.pb-list::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.pb-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  animation: pb-in 0.4s cubic-bezier(0.2,0.7,0.3,1) both;
}
@keyframes pb-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.pb-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}
.pb-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}
.pb-name {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
.pb-when {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.pb-city {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}
.pb-text {
  font-family: var(--serif-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 0.7rem;
  text-wrap: pretty;
}
.pb-intercede {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: all 0.2s;
}
.pb-intercede:hover { border-color: var(--accent); color: var(--accent); }
.pb-intercede .pb-int-ic { color: var(--accent); }
.pb-intercede.done {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Contact section ─────────────────────────────────────── */
.contact-section {
  background: var(--paper-2);
  padding: clamp(4rem, 7vw, 6rem) var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-inner { max-width: var(--content-w); margin: 0 auto; }
.contact-head {
  text-align: center;
  max-width: 56em;
  margin: 0 auto 3rem;
}
.contact-head .section-title { margin: 1rem auto; }
.contact-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 1.4rem auto 0;
  max-width: 38em;
  text-wrap: pretty;
}
.contact-deck em { color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.contact-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}
.cc-ic {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--serif-display);
  line-height: 1;
}
.cc-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}
.cc-value {
  font-family: var(--serif-display);
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.cc-pix-key {
  font-size: 1.3rem;
  color: var(--accent);
  font-family: var(--serif-display);
}
.cc-cong { font-size: 1.7rem; }
.cc-addr {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.cc-cta {
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.2s;
}
.cc-cta:hover { gap: 0.6rem; }
button.cc-cta:hover { color: var(--ink); }

/* Channels grid */
.contact-channels {}
.cc-channels-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.cc-channels-head .rule { flex: 1; }
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.ch-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 0.2s;
}
.ch-card:hover {
  border-color: var(--accent);
  background: var(--paper);
  transform: translateY(-2px);
}
.ch-card:hover .ch-arr { color: var(--accent); transform: translate(2px, -2px); }
.ch-ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.ch-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.ch-handle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.ch-arr {
  margin-left: auto;
  color: var(--ink-mute);
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

/* Soften some heavy editorial chrome for modern feel */
.list-item:hover { background: var(--accent-soft); border-radius: 8px; }
.bty-card-img,
.bty-feat-img { border-radius: 12px; overflow: hidden; }
.bty-card-img img,
.bty-feat-img img { transition: transform 0.7s ease-out; }
.bty-feat-img,
.bty-card-img { box-shadow: 0 4px 14px rgba(20,18,12,0.06); }

/* Mode button polish */
.mode-btn {
  background: transparent;
  transition: all 0.25s;
}
.mode-btn:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

/* Hero: lighter background */
.hero {
  background: var(--paper-3);
}

/* Responsive patches */
@media (max-width: 1080px) {
  .cufi-grid { grid-template-columns: 1fr 1fr; }
  .prayer-grid { grid-template-columns: 1fr; }
  .prayer-form { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-channels-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cufi-grid { grid-template-columns: 1fr; }
  .pf-row-2 { grid-template-columns: 1fr; }
  .contact-channels-grid { grid-template-columns: 1fr; }
  .prayer-book { max-height: none; }
}


/* ============================================================
   IDI HIGHLIGHT STRIP (colorful banner above hero)
   ============================================================ */
.idi-highlight {
  position: relative;
  background:
    linear-gradient(120deg,
      oklch(0.65 0.13 60) 0%,
      oklch(0.55 0.16 35) 50%,
      oklch(0.42 0.14 25) 100%);
  color: var(--paper);
  padding: 0;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}

/* Marquee strip */
.idi-hl-marquee {
  border-bottom: 1px solid rgba(245,237,220,0.18);
  background: rgba(0,0,0,0.18);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.idi-hl-track {
  display: flex;
  gap: 0;
  animation: idi-hl-scroll 38s linear infinite;
  width: max-content;
}
.idi-hl-row {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: rgba(245,237,220,0.92);
  white-space: nowrap;
}
.idi-hl-row em {
  font-style: normal;
  color: oklch(0.80 0.13 60);
  font-size: 1rem;
  font-family: var(--serif-body);
}
@keyframes idi-hl-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Card */
.idi-highlight-inner { position: relative; z-index: 1; }
.idi-hl-card {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(2.4rem, 4.5vw, 3.8rem) var(--row-pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}
.idi-hl-l { min-width: 0; }
.idi-hl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,237,220,0.88);
  margin-bottom: 1rem;
}
.idi-hl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.82 0.16 60);
  box-shadow: 0 0 0 4px oklch(0.82 0.16 60 / 0.25);
  animation: pt-pulse 1.6s ease-in-out infinite;
}
.idi-hl-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.idi-hl-title em {
  font-style: italic;
  color: oklch(0.86 0.13 60);
}
.idi-hl-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(245,237,220,0.78);
  text-wrap: pretty;
  max-width: 36em;
}
.idi-hl-deck strong {
  font-weight: 600;
  color: oklch(0.92 0.10 60);
  font-style: normal;
  font-family: var(--serif-display);
  font-size: 1.18em;
  margin: 0 0.05em;
}

.idi-hl-stats {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.idi-hl-stats li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(245,237,220,0.22);
}
.idi-hl-stats li:last-child { border-bottom: 1px solid rgba(245,237,220,0.22); }
.idi-hl-num {
  font-family: var(--serif-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.idi-hl-lbl {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,237,220,0.7);
}

/* ============================================================
   PRAYER TEASER (colorful CTA between IDI articles and blogs)
   ============================================================ */
.prayer-teaser {
  position: relative;
  background:
    linear-gradient(160deg,
      oklch(0.92 0.05 80) 0%,
      oklch(0.86 0.09 65) 45%,
      oklch(0.78 0.12 40) 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--row-pad);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pt-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.pt-blob-1 {
  width: 480px;
  height: 480px;
  background: oklch(0.62 0.18 28 / 0.35);
  top: -180px;
  right: -100px;
}
.pt-blob-2 {
  width: 380px;
  height: 380px;
  background: oklch(0.78 0.16 90 / 0.45);
  bottom: -140px;
  left: -80px;
}
.pt-blob-3 {
  width: 260px;
  height: 260px;
  background: oklch(0.85 0.10 50 / 0.35);
  top: 40%;
  left: 45%;
}

.pt-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pt-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  color: oklch(0.34 0.12 28) !important;
  margin-bottom: 1rem;
}
.pt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.48 0.18 28);
  box-shadow: 0 0 0 4px oklch(0.48 0.18 28 / 0.25);
  animation: pt-pulse 1.6s ease-in-out infinite;
}
@keyframes pt-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.pt-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: oklch(0.22 0.06 30);
  text-wrap: balance;
  margin-bottom: 1.2rem;
}
.pt-title em {
  font-style: italic;
  color: oklch(0.42 0.18 25);
}

.pt-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: oklch(0.32 0.06 30);
  max-width: 32em;
  margin-bottom: 1.8rem;
  text-wrap: pretty;
}
.pt-deck em { color: oklch(0.42 0.18 25); font-weight: 500; }

.pt-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.pt-cta {
  background: oklch(0.22 0.06 30);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(20,18,12,0.18), 0 1px 3px rgba(20,18,12,0.10);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.pt-cta:hover {
  background: oklch(0.40 0.18 25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,18,12,0.24), 0 2px 6px rgba(20,18,12,0.14);
}
.pt-cta-2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.32 0.10 30);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  transition: color 0.2s;
}
.pt-cta-2:hover { color: oklch(0.42 0.18 25); }

/* Right side: floating book card */
.pt-book {
  background: rgba(255,250,238,0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(20,18,12,0.10);
  border-radius: 18px;
  padding: 1.4rem 1.5rem 0.5rem;
  box-shadow:
    0 30px 60px -20px rgba(20,18,12,0.30),
    0 0 0 1px rgba(255,255,255,0.4) inset;
  transform: rotate(-1.2deg);
  transition: transform 0.4s;
}
.pt-book:hover { transform: rotate(0deg) translateY(-3px); }
.pt-book-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(20,18,12,0.12);
  margin-bottom: 0.3rem;
}
.pt-book-kicker {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.32 0.06 30);
}
.pt-book-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.42 0.18 25);
  font-weight: 500;
}
.pt-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.55 0.20 25);
  box-shadow: 0 0 0 4px oklch(0.55 0.20 25 / 0.30);
  animation: pt-pulse 1.6s ease-in-out infinite;
}

.pt-names { list-style: none; }
.pt-name-item {
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px dotted rgba(20,18,12,0.18);
  animation: pt-name-in 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.pt-name-item:last-child { border-bottom: 0; }
@keyframes pt-name-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}
.pt-name-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: oklch(0.55 0.20 25);
  line-height: 1;
}
.pt-name {
  font-family: var(--serif-display);
  font-size: 1.05rem;
  color: oklch(0.22 0.06 30);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  text-wrap: balance;
}
.pt-name-city {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.40 0.05 30);
}
.pt-name-mark {
  color: oklch(0.55 0.20 25);
  font-size: 1.1rem;
}

.pt-book-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1.1rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(20,18,12,0.12);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.32 0.06 30);
  transition: color 0.2s, gap 0.2s;
}
.pt-book-foot:hover { color: oklch(0.42 0.18 25); }
.pt-book-arr {
  color: oklch(0.55 0.20 25);
  font-size: 1rem;
  transition: transform 0.2s;
}
.pt-book-foot:hover .pt-book-arr { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1080px) {
  .idi-hl-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .idi-hl-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
  .idi-hl-stats li {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.3rem;
    padding: 0.8rem 0;
  }
  .idi-hl-stats li:not(:first-child) { border-top: 0; }
  .idi-hl-stats li:last-child { border-bottom: 0; }
  .pt-inner { grid-template-columns: 1fr; }
  .pt-book { transform: rotate(0); margin-top: 1rem; }
}
@media (max-width: 760px) {
  .idi-hl-row { font-size: 1rem; gap: 1.2rem; padding-right: 1.2rem; }
  .idi-hl-num { font-size: 2.2rem; }
  .pt-actions { gap: 1rem; }
  .pt-title { font-size: clamp(2rem, 9vw, 3.2rem); }
}


/* ============================================================
   TOP RIBBON (above masthead)
   ============================================================ */
.top-ribbon {
  background:
    linear-gradient(95deg,
      oklch(0.36 0.14 25) 0%,
      oklch(0.30 0.12 30) 45%,
      oklch(0.22 0.08 35) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  z-index: 6;
}
.top-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, oklch(0.62 0.18 60 / 0.30), transparent 70%);
  pointer-events: none;
}
.tr-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0.55rem var(--row-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.tr-text {
  font-family: var(--serif-body);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(245,237,220,0.92);
  flex: 1;
  min-width: 0;
}
.tr-motto {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(0.86 0.14 60);
  white-space: nowrap;
  margin-right: 0.5rem;
}
.tr-motto em {
  font-style: italic;
  color: var(--paper);
  font-family: var(--serif-display);
  font-size: 1.18em;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0.05em;
}
.tr-motto-i {
  color: oklch(0.82 0.16 60);
  font-size: 1rem;
}
.tr-sep {
  margin: 0 0.6rem;
  color: rgba(245,237,220,0.32);
}
.tr-copy {
  font-style: italic;
  color: rgba(245,237,220,0.85);
}
.tr-copy strong {
  font-weight: 500;
  font-style: normal;
  color: oklch(0.92 0.10 60);
}
.tr-copy em {
  color: var(--paper);
  font-weight: 500;
}

.tr-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.tr-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.tr-btn-pray {
  background: rgba(255,255,255,0.08);
  color: var(--paper);
  border-color: rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
}
.tr-btn-pray:hover {
  background: var(--paper);
  color: oklch(0.30 0.12 25);
  border-color: var(--paper);
  transform: translateY(-1px);
}
.tr-btn-give {
  background: oklch(0.78 0.16 70);
  color: oklch(0.22 0.06 30);
  border-color: oklch(0.78 0.16 70);
  box-shadow: 0 4px 14px oklch(0.62 0.18 50 / 0.40);
}
.tr-btn-give:hover {
  background: oklch(0.86 0.18 75);
  border-color: oklch(0.86 0.18 75);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px oklch(0.62 0.18 50 / 0.55);
}
.tr-btn-give:hover .tr-btn-arr { transform: translateX(3px); }
.tr-btn-ic {
  display: inline-flex;
  align-items: center;
  font-size: 0.95em;
}
.tr-btn-arr { transition: transform 0.2s; }

.tr-only-wide { display: inline; }

/* ============================================================
   PRAYER MODAL (lightbox) + CANDLE
   ============================================================ */
.overlay-prayer { background: rgba(15,13,10,0.72); }
body.dark .overlay-prayer { background: rgba(5,5,8,0.85); }

.pm-modal {
  background: var(--paper-3);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  margin-top: 4vh;
  border-radius: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(20,18,12,0.55),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: rd-in 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
body.dark .pm-modal { background: var(--paper-2); }

.pm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.pm-form-wrap {
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
}
.pm-head {
  text-align: center;
  margin-bottom: 1.8rem;
}
.pm-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.8rem 0 0.8rem;
}
.pm-title em { font-style: italic; color: var(--accent); }
.pm-deck {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32em;
  margin: 0 auto;
  text-wrap: pretty;
}
.pm-deck em { color: var(--accent); }

.pm-form {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  position: static !important;
}
.pm-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* CANDLE PAGE inside modal */
.pm-candle-wrap {
  padding: 1.5rem 2rem 2.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, oklch(0.92 0.12 70 / 0.35) 0%, transparent 60%),
    linear-gradient(180deg, var(--paper-3) 0%, var(--paper) 100%);
  animation: pm-candle-bg 0.6s ease-out both;
}
@keyframes pm-candle-bg { from { opacity: 0; } to { opacity: 1; } }

.pm-candle-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.pm-candle-title em { font-style: italic; color: var(--accent); }
.pm-candle-deck {
  font-family: var(--serif-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 32em;
  margin: 0 auto 1.8rem;
  text-wrap: pretty;
}
.pm-candle-deck strong {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--serif-display);
}
.pm-candle-deck em {
  font-style: italic;
  color: var(--ink-3);
  font-size: 0.92em;
  display: inline-block;
  margin-top: 0.7rem;
}

.pm-candle-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.pm-close-2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.pm-close-2:hover { color: var(--accent); border-color: var(--accent); }

/* The candle itself */
.candle {
  position: relative;
  width: 140px;
  height: 240px;
  margin: 0 auto 1rem;
  animation: candle-rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes candle-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.candle-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.candle-halo {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle,
    oklch(0.95 0.18 80 / 0.55) 0%,
    oklch(0.88 0.18 65 / 0.40) 25%,
    oklch(0.78 0.18 50 / 0.20) 50%,
    transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: halo-glow 2.4s ease-in-out infinite;
}
@keyframes halo-glow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.candle-flame {
  transform-origin: 60px 64px;
  animation: flame-flicker 1.6s ease-in-out infinite;
}
@keyframes flame-flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  25% { transform: scale(1.04, 0.96) rotate(-1.5deg); }
  50% { transform: scale(0.97, 1.06) rotate(1deg); }
  75% { transform: scale(1.03, 0.98) rotate(-0.8deg); }
}
.flame-inner {
  transform-origin: 60px 60px;
  animation: flame-inner-shimmer 1.1s ease-in-out infinite;
}
@keyframes flame-inner-shimmer {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.85; }
}

/* Responsive */
@media (max-width: 760px) {
  .tr-only-wide { display: none; }
  .tr-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
  }
  .tr-text { font-size: 0.82rem; line-height: 1.4; text-align: center; }
  .tr-motto { display: inline-flex; }
  .tr-sep { display: none; }
  .tr-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .tr-btn { padding: 0.5rem 0.85rem; font-size: 0.68rem; }
  .pm-modal { margin-top: 2vh; max-height: 96vh; border-radius: 16px; }
  .pm-form-wrap, .pm-candle-wrap { padding: 1.5rem 1.2rem 1.5rem; }
  .candle { width: 110px; height: 200px; }
}


/* ============================================================
   TOP RIBBON · THIN VARIANT (just motto)
   ============================================================ */
.top-ribbon-thin .tr-inner {
  padding: 0.45rem var(--row-pad);
  justify-content: center;
}
.top-ribbon-thin .tr-motto {
  margin: 0;
}

/* ============================================================
   MANIFESTO BAR · editorial · below brand title
   ============================================================ */
.manifesto-bar {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.manifesto-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background:
    linear-gradient(90deg,
      oklch(0.62 0.18 70) 0%,
      oklch(0.48 0.16 28) 50%,
      oklch(0.62 0.18 70) 100%);
}
body.dark .manifesto-bar {
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.mb-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 1.4rem var(--row-pad) 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.mb-left { align-self: start; padding-top: 0.4rem; }
.mb-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
}
.mb-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pt-pulse 1.6s ease-in-out infinite;
}

.mb-center {
  min-width: 0;
}
.mb-statement {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.mb-statement em {
  font-style: italic;
  color: var(--accent);
}

.mb-right {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
.mb-action {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s;
  font-family: var(--sans);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.mb-action::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  pointer-events: none;
}
.mb-action:hover::after { transform: translateX(100%); }

.mb-action-ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.mb-action-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.mb-action-l1 {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 0.18rem;
}
.mb-action-l2 {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.18rem;
  letter-spacing: -0.005em;
  font-weight: 400;
  text-transform: none;
  line-height: 1;
}
.mb-action-arr {
  font-size: 1rem;
  transition: transform 0.25s;
  opacity: 0.8;
}
.mb-action:hover .mb-action-arr { transform: translateX(4px); opacity: 1; }

/* Pray button — light, accent border */
.mb-action-pray {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent-soft), 0 6px 16px rgba(20,18,12,0.06);
}
.mb-action-pray:hover {
  background: var(--paper-3);
  box-shadow: 0 1px 0 var(--accent), 0 10px 24px rgba(20,18,12,0.10);
  transform: translateY(-2px);
}
.mb-action-pray .mb-action-ic {
  background: var(--accent-soft);
  color: var(--accent);
}
.mb-action-pray .mb-action-l1 { color: var(--accent); opacity: 1; font-weight: 600; }

/* Give button — solid accent */
.mb-action-give {
  background: linear-gradient(120deg, oklch(0.48 0.16 28) 0%, oklch(0.40 0.14 25) 100%);
  color: var(--paper);
  border-color: transparent;
  box-shadow: 0 4px 14px oklch(0.48 0.16 28 / 0.30), 0 1px 3px rgba(20,18,12,0.10);
}
.mb-action-give:hover {
  background: linear-gradient(120deg, oklch(0.55 0.18 32) 0%, oklch(0.48 0.16 28) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(0.48 0.16 28 / 0.45), 0 2px 6px rgba(20,18,12,0.15);
}
.mb-action-give .mb-action-ic {
  background: rgba(255,255,255,0.20);
  color: var(--paper);
}
.mb-action-give .mb-action-l1 { color: oklch(0.92 0.10 60); opacity: 1; font-weight: 600; }

/* Responsive */
@media (max-width: 1080px) {
  .mb-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .mb-left { display: flex; justify-content: center; padding-top: 0; }
  .mb-statement { text-align: center; }
  .mb-right { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .mb-inner { padding: 1.2rem 0.9rem; gap: 1rem; }
  .mb-statement { font-size: 1.05rem; }
  .mb-action { padding: 0.55rem 0.85rem 0.55rem 0.65rem; }
  .mb-action-ic { width: 30px; height: 30px; font-size: 0.95rem; }
  .mb-action-l2 { font-size: 1.05rem; }
}


/* ============================================================
   DONATE OPTIONS · PIX copy + WhatsApp
   ============================================================ */
.donate-block {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.donate-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.donate-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.4rem;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}
.donate-card.donate-pix {
  border-top: 3px solid var(--accent);
  position: relative;
}
.donate-card.donate-pix::before {
  content: 'Recomendado';
  position: absolute;
  top: -10px;
  left: 1.4rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.donate-card.donate-wa:hover {
  border-color: oklch(0.6 0.12 145);
  transform: translateY(-2px);
}

.donate-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.donate-ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.4rem;
}
.donate-ic-wa {
  background: oklch(0.92 0.05 145);
  color: oklch(0.45 0.14 145);
}
.donate-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.donate-sub {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.35;
}
.donate-main {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.donate-link {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(0.45 0.14 145);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* PIX reveal */
.pix-reveal {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: pix-rev 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes pix-rev { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pix-instr {
  font-family: var(--serif-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.pix-instr em {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.pix-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper-2);
  border: 1px dashed var(--rule-strong);
  border-radius: 10px;
  padding: 1rem;
}
.pix-box-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.pix-key {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  background: var(--paper);
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.pix-copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.pix-copy:hover { background: var(--accent); transform: scale(1.02); }
.pix-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: oklch(0.7 0.18 145);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  animation: pop 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.4);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.pix-titular {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-3);
  text-align: center;
}
.pix-titular strong {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-card { padding: 1.2rem; }
}

/* ============================================================
   ABOUT THE MINISTRY (since 2000)
   ============================================================ */
.about {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--row-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(circle at 80% 30%,
      oklch(0.62 0.18 70 / 0.06) 0%,
      transparent 60%);
  pointer-events: none;
}
.about-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-l {
  border-top: 4px solid var(--ink);
  padding-top: 1.2rem;
}
.about-l .rule-short { margin: 0.9rem 0 1.5rem; }
.about-since {
  display: flex;
  flex-direction: column;
  font-family: var(--serif-display);
  line-height: 0.9;
}
.about-since em {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.about-year {
  font-size: clamp(4.5rem, 9vw, 7rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.about-c { min-width: 0; }
.about-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
  text-wrap: balance;
}
.about-title em { font-style: italic; color: var(--accent); }

.about-body p {
  font-family: var(--serif-body);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
  text-wrap: pretty;
  hyphens: auto;
}
.about-body p em { font-style: italic; color: var(--accent); }
.about-body p strong { font-weight: 600; color: var(--ink); }
.about-body .dropcap {
  font-family: var(--serif-display);
  font-size: 4rem;
  line-height: 0.84;
  float: left;
  margin: 0.15rem 0.55rem -0.25rem 0;
  color: var(--accent);
}

.about-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
}
.about-pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.ap-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}
.about-pillars h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.about-pillars p {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.about-r {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-quote {
  background: var(--paper-2);
  padding: 1.6rem 1.4rem;
  border-top: 3px solid var(--accent);
}
.aq-mark {
  font-family: var(--serif-display);
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.aq-text {
  font-family: var(--serif-display);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.9rem;
  text-wrap: pretty;
}
.aq-text em { font-style: italic; color: var(--accent); }
.aq-attr {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.about-stats {
  display: grid;
  gap: 0.5rem;
}
.as-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.as-item:first-child { border-top: 1px solid var(--rule); }
.as-num {
  font-family: var(--serif-display);
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.as-lbl {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .about-l { border-top: 0; padding-top: 0; }
  .about-since { flex-direction: row; align-items: baseline; gap: 1rem; }
  .about-since em { margin: 0; font-size: 1rem; }
  .about-year { font-size: clamp(3rem, 12vw, 4.5rem); }
  .about-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .about-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .about-body .dropcap { font-size: 3rem; }
}


/* ============================================================
   FLOATING MANIFESTO BAR · appears when scrolled past original
   ============================================================ */
.manifesto-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 6px 20px -10px rgba(20,18,12,0.18);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.25s;
}
.manifesto-floating::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    oklch(0.62 0.18 70) 0%,
    oklch(0.48 0.16 28) 50%,
    oklch(0.62 0.18 70) 100%);
}
body.mb-pinned .manifesto-floating {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
body.mb-pinned .filter-rail {
  top: 64px; /* shift filter rail down so they stack cleanly */
}

.mf-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0.6rem var(--row-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.mf-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.mf-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  padding: 1px;
}
.mf-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.mf-name strong {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mf-name em {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 0.1rem;
}

.mf-motto {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mf-motto em {
  font-style: italic;
  font-family: var(--serif-display);
  font-size: 1.18em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0 0.05em;
}

.mf-actions {
  display: flex;
  gap: 0.5rem;
  justify-self: end;
}

.mb-action-compact {
  padding: 0.5rem 0.9rem;
  gap: 0.45rem;
  border-radius: 999px;
}
.mb-action-compact .mb-action-ic {
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
}
.mb-action-compact .mb-action-l2 {
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
}
.mb-action-compact .mb-action-arr {
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .mf-inner {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
  }
  .mf-motto { display: none; }
  .mf-name em { display: none; }
  .mb-action-compact { padding: 0.45rem 0.7rem; }
  .mb-action-compact .mb-action-l2 { font-size: 0.82rem; }
  body.mb-pinned .filter-rail { top: 56px; }
}


/* ============================================================
   BRAND EDITOR CARD (header right side)
   ============================================================ */
.brand-side-r {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}
.brand-editor {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
  flex-direction: row-reverse;
}
.brand-editor:hover { opacity: 0.8; }
.brand-editor:hover .brand-editor-ig { color: var(--accent); }
.brand-editor-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.brand-editor-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-align: right;
}
.brand-editor-name {
  font-family: var(--serif-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.brand-editor-role {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}
.brand-editor-ig {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.brand-side-net {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}

/* ============================================================
   TRANSLATE BUTTON (top ribbon)
   ============================================================ */
.top-ribbon-thin .tr-inner {
  justify-content: space-between;
  position: relative;
}
.tr-translate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.tr-globe { font-size: 0.85rem; line-height: 1; }
.tr-translate-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,237,220,0.85);
}

/* Google Translate widget — restyle to fit the ribbon */
#google_translate_element {
  display: inline-flex;
  align-items: center;
}
#google_translate_element .goog-te-gadget {
  font-size: 0 !important;
  color: transparent !important;
  font-family: var(--sans) !important;
}
#google_translate_element .goog-te-gadget-simple {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(245,237,220,0.30) !important;
  border-radius: 999px !important;
  padding: 0.2rem 0.6rem !important;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: background 0.2s;
}
#google_translate_element .goog-te-gadget-simple:hover {
  background: rgba(255,255,255,0.20) !important;
}
#google_translate_element .goog-te-gadget-simple span {
  color: var(--paper) !important;
  font-family: var(--sans) !important;
  border: none !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em;
}
#google_translate_element img { display: none !important; }
.goog-te-gadget-simple .goog-te-menu-value span:first-child { display: inline !important; }

/* Kill the Google top banner that shifts the page */
.goog-te-banner-frame { display: none !important; }
.skiptranslate > iframe { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .brand-side-r { align-items: center; }
  .brand-editor-info { align-items: center; text-align: center; }
  .brand-editor { flex-direction: column; gap: 0.5rem; }
  .brand-side-net { text-align: center; }
  .tr-translate-label { display: none; }
}
