.brand-word { direction: ltr; unicode-bidi: isolate; font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.05em; font-weight: 500; }
.paper-theme .nav { transform: none; }
.paper-theme .nav-inner, .nav-inner { width: 100%; direction: rtl; justify-content: flex-start; gap: 26px; }
.paper-theme .nav-links, .nav-links { direction: rtl; justify-content: flex-start; }
.paper-theme .nav-logo { white-space: nowrap; }
.paper-theme .nav-links { gap: 4px; }
.paper-theme .nav-links a, .nav-intro { font-size: .82rem; }
.nav-intro { border-bottom: 1px solid #9b8150; padding: 6px 8px; min-height: 40px; }
#intro.brand-splash { z-index: 1200; gap: 20px; background: #f5f2ea; color: #244532; }
#intro.brand-splash[hidden] { display: none; }
.brand-splash .intro-brand { direction: ltr; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem,9vw,6rem); font-weight: 500; letter-spacing: -.06em; }
.brand-splash .intro-brand span { animation: brand-word-in .7s cubic-bezier(.22,1,.36,1) both; }
.brand-splash .intro-tag { font-size: .9rem; animation: brand-word-in .6s .22s both; }
.brand-splash .intro-line { opacity: 1; background: #ddd6c1; width: 130px; }
.brand-splash .intro-line i { background: #a78a4d; animation: brand-line-in 1.35s .25s both; }
.brand-splash .intro-skip { position:absolute; bottom:30px; padding:12px 20px; min-height:44px; font-size:.78rem; color:#6d715e; }
.brand-splash.leaving { animation: brand-curtain-out .5s cubic-bezier(.76,0,.24,1) both; }
@keyframes brand-word-in { from {opacity:0;transform:translateY(22px)} to {opacity:1;transform:translateY(0)} }
@keyframes brand-line-in { from {width:0} to {width:100%} }
@keyframes brand-curtain-out { to {opacity:0;transform:translateY(-100%)} }
.welcome {
  position: fixed; inset: 0; z-index: 1100; color: #fffbed;
  background: #1c2119; overflow-y: auto; overscroll-behavior: contain;
  transition: opacity .5s, transform .6s cubic-bezier(.22,1,.36,1);
}
.welcome[hidden] { display: none; }
.welcome.leaving { opacity: 0; transform: translateY(-3%); pointer-events: none; }
.welcome-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .24s ease; }
.welcome-image.is-ready { opacity: 1; }
.welcome::after { content:''; position:absolute; inset:0; background:linear-gradient(270deg,rgba(14,20,14,.73),rgba(14,20,14,.17) 62%,rgba(14,20,14,.07)); pointer-events:none; }
.welcome-layout { min-height: 100%; min-height: 100svh; position: relative; z-index: 1; display: flex; flex-direction: column; padding: 32px clamp(24px,5vw,88px); }
.welcome-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.welcome-brand { font-size: clamp(1.7rem,3vw,2.5rem); }
.welcome-skip { color:#f5edda; border-bottom:1px solid #b7aa83; padding:8px 0; min-height:44px; font-size:.8rem; }
.welcome-copy { width: min(520px,46%); margin-block: auto; padding-block: 56px; }
.welcome-eyebrow { display:flex; align-items:center; gap:12px; font-size:.75rem; color:#ddcda3; margin-bottom:24px; }
.welcome-eyebrow::before { content:''; width:32px; height:1px; background:#c4a469; }
.welcome h1 { font-size: clamp(1.9rem,3.4vw,3.35rem); line-height: 1.6; margin-bottom: 22px; text-wrap: balance; }
.welcome-desc { color:#ebe6d6; font-size:clamp(.95rem,1.25vw,1.07rem); line-height:2.1; white-space:pre-line; }
.welcome-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-top:32px; }
.welcome-enter { background:#e8d7ad; color:#263022; padding:14px 28px; min-height:50px; border-radius:3px; font-weight:800; display:inline-flex; gap:24px; }
.welcome-archive { color:#ebe6d6; text-decoration:none; border-bottom:1px solid #ad9c72; font-size:.87rem; }
.welcome-foot { display:flex; align-items:center; justify-content:space-between; gap:20px; color:#ddd7c5; font-size:.7rem; padding-top:20px; border-top:1px solid #ddd7c532; }
.welcome-foot b { font-family:Georgia,serif; letter-spacing:.16em; font-weight:400; }
.welcome :is(button,a):focus-visible { outline: 3px solid #f4daa0; outline-offset: 7px; }
body.welcome-open { overflow: hidden; }
.section-label { font-size:.73rem; letter-spacing:.15em; color:var(--muted); }
.section-split { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.section-split h2 { font-size:clamp(1.5rem,3vw,2rem); }
.section-split p { color:var(--muted); max-width:530px; font-size:.9rem; margin-top:8px; }
.paper-theme #videos { max-width:1120px; padding:48px clamp(16px,4vw,44px); margin:auto; }
.video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.video-card { min-width:0; }
.video-frame { aspect-ratio:16/10; background:#e8e5da; border:1px solid #d7d3c5; border-radius:5px; overflow:hidden; }
.video-frame video { width:100%; height:100%; object-fit:contain; background:#171c16; }
.video-pending { height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; color:#626658; background:linear-gradient(135deg,#edede2,#dbdfd2); }
.video-pending span { font-size:2.2rem; line-height:1; }
.video-pending p { font-size:.75rem; }
.video-card h3 { font-size:.95rem; margin-top:12px; }
.media-direct { font-size:.75rem; color:var(--muted); text-underline-offset:4px; }
.gallery-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; }
.gallery-filters button { min-height:40px; padding:7px 20px; border:1px solid var(--line-strong); border-radius:30px; font-size:.8rem; }
.gallery-filters button[aria-pressed='true'] { background:#294734; color:#fff; border-color:#294734; }
.paper-theme .gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.gallery-tile { display:block; width:100%; text-align:right; background:#faf8f0; border:1px solid #e0ddcf; border-radius:4px; overflow:hidden; transition:transform .2s; }
.gallery-tile:hover { transform:translateY(-3px); }
.gallery-visual { display:block; aspect-ratio:4/3; position:relative; background:#e4e5d8; }
.gallery-visual img { display:block; width:100%; height:100%; object-fit:cover; }
.gallery-pending { display:grid; place-items:center; height:100%; font-size:3rem; color:#818673; background:linear-gradient(135deg,#e9e5d7,#d5dcca); }
.gallery-kind { position:absolute; top:12px; right:12px; padding:3px 12px; border-radius:20px; font-size:.68rem; background:#fcfaf2ec; color:#344537; }
.gallery-caption { display:block; padding:18px; }
.gallery-caption b { display:block; font-size:.96rem; }
.gallery-caption small { display:block; color:var(--muted); font-size:.78rem; margin-top:4px; }
.gallery-caption time { display:block; font-size:.7rem; color:var(--muted); margin-top:10px; }
.gallery-caption .pending-note { color:#817456; font-size:.7rem; }
.media-lightbox-img { display:block; max-height:65vh; max-width:100%; margin:0 auto 20px; border-radius:3px; object-fit:contain; }
.archive-link { display:block; text-decoration:none; color:inherit; }
.archive-card-summary { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; overflow-wrap:anywhere; font-size:.85rem; line-height:1.9; color:var(--muted); margin:12px 0 18px; }
.archive-link .archive-read { display:block; font-size:.78rem; color:var(--pro); margin-top:18px; }
.archive-cover { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:2px; margin-bottom:18px; }
.archive-lead { max-width:1050px; margin:auto; padding:120px 24px 38px; }
.archive-breadcrumb { color:var(--muted); font-size:.8rem; margin-bottom:24px; }
.archive-lead h1 { font-size:clamp(1.7rem,4vw,2.6rem); max-width:820px; line-height:1.65; }
.archive-meta { display:flex; flex-wrap:wrap; gap:16px; font-size:.82rem; color:var(--muted); margin-top:18px; }
.archive-body { max-width:1050px; padding:0 24px 80px; margin:auto; }
.archive-tabs { display:flex; flex-wrap:wrap; gap:8px 22px; border-block:1px solid var(--line-strong); padding:15px 0; margin:10px 0 36px; }
.archive-tabs a { color:var(--pro); text-underline-offset:5px; font-size:.85rem; }
.archive-section { padding-block:20px 40px; }
.archive-section h2 { font-size:1.4rem; margin-bottom:22px; }
.archive-prose { white-space:pre-wrap; overflow-wrap:anywhere; line-height:2.2; font-size:1rem; max-width:850px; }
.transcript-paper { padding:32px; }
.quote-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.quote-card { padding:28px; margin:0; }
.quote-card p { font-size:1rem; line-height:2.1; }
.quote-card p::before { content:'«'; color:#7d885d; font-size:1.4rem; }
.quote-card p::after { content:'»'; color:#7d885d; font-size:1.4rem; }
.quote-card footer { padding:18px 0 0; text-align:right; margin-top:20px; border-top:1px solid var(--line-strong); }
.quote-card footer small { display:block; color:var(--muted); }
.content-empty { padding:26px; background:#ebe9de80; border:1px dashed #cecaba; color:var(--muted); font-size:.9rem; border-radius:4px; }
.editor-list { display:flex; flex-direction:column; gap:12px; margin-bottom:12px; }
.editor-row { border:1px solid var(--line-strong); border-radius:6px; padding:12px; background:var(--surface-2); }
.editor-row input, .editor-row textarea { width:100%; margin:5px 0 10px; padding:8px; border:1px solid var(--line-strong); border-radius:4px; background:#fff; font:inherit; font-size:.8rem; }
.editor-row label { font-size:.75rem; display:block; }
.editor-row textarea { min-height:80px; resize:vertical; }
.editor-remove { color:var(--con-ink); font-size:.73rem; padding:4px; }
.editor-add, .edit-content, .cancel-edit { padding:8px 12px; border:1px solid var(--line-strong); border-radius:5px; min-height:40px; font-size:.76rem; background:#fff; }
.editor-help { font-size:.74rem; color:var(--muted); line-height:1.9; margin:8px 0 16px; }
.editor-section-title { font-size:.86rem; margin-top:22px; margin-bottom:10px; }
.adm-panel[data-panel='debates'] .adm-form, .adm-panel[data-panel='current'] .adm-form { position:static; }
.cancel-edit { margin-top:10px; width:100%; }
.media-url { direction:ltr; text-align:left; }
@media(max-width:900px) {
  .welcome-copy { width:min(510px,65%); }
  .welcome::after { background:linear-gradient(270deg,#131c13df,#131c1360 80%); }
  .video-grid, .paper-theme .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .paper-theme .nav-inner { flex-wrap:wrap; gap:10px 18px; }
}
@media(max-width:600px) {
  .welcome-layout { padding:22px; }
  .welcome-image { object-position:28% center; }
  .welcome::after { background:linear-gradient(0deg,#111a11f5 12%,#111a11bf 65%,#111a1175); }
  .welcome-copy { width:100%; padding-top:64px; padding-bottom:40px; }
  .welcome h1 { font-size:1.85rem; }
  .welcome-desc { font-size:.93rem; }
  .welcome-foot span { max-width:65%; }
  .section-split { display:block; }
  .video-grid, .paper-theme .gallery-grid, .quote-grid { grid-template-columns:1fr; }
  .paper-theme .nav-links a[data-spy='gallery'], .paper-theme .nav-links a[data-spy='videos'] { display:inline-flex; }
  .paper-theme .nav-links { gap:0; }
  .paper-theme .nav-links a, .nav-intro { font-size:.72rem; padding-inline:7px; }
  .paper-theme .nav-intro { margin-inline-start:0; }
  .paper-theme #hero { padding-top:145px; }
  .archive-lead { padding-top:115px; }
  .transcript-paper { padding:24px; }
}
@media(prefers-reduced-motion:reduce) { .welcome { transition:none; } }
