/* Scientia Moderna — "Marble & Bronze" editorial theme.
   Loaded after redesign.css; light ivory academia with bronze hairlines. */
:root{
  --paper:#f6f3ec;
  --white:#fffdf8;
  --ink:#2b2a26;
  --muted:#6f6a5c;
  --accent:#785b28;
  --gold:#a08245;
  --gold-soft:#c9a86a;
  --sand:#e6ddc9;
  --line:#ddd4c2;
}
body{background:var(--paper);color:var(--ink)}

/* ---------- header ---------- */
.topline{color:#6c6558;border-bottom:1px solid #e2d9c6}
.header{border-bottom:1px solid #ddd2b8}
.brand{gap:12px}
.brand-mark{display:block;flex:none;width:52px;height:52px}
.brand-name{display:flex;flex-direction:column;line-height:1.15;white-space:nowrap}
.brand-name strong,.brand-name em{display:inline;font-family:Georgia,"Times New Roman",serif;font-weight:400;text-transform:uppercase;letter-spacing:.16em;font-size:19px;color:var(--ink)}
.brand-name em{font-style:normal;color:var(--ink);margin-left:7px}
.brand-name small{margin-top:4px;font-family:Arial,sans-serif;font-size:8px;letter-spacing:1.6px;font-style:normal;text-transform:uppercase;color:var(--accent)}
.header .nav{font-family:Georgia,"Times New Roman",serif;text-transform:uppercase;letter-spacing:.14em;font-size:12px}
/* language dropdown like the mockup: "RU ▾" */
.languages{position:relative;z-index:30}
.header .languages a{display:none;font-family:Georgia,"Times New Roman",serif;font-size:13px;letter-spacing:.08em}
.header .languages a[aria-current=true]{display:inline-flex;align-items:center;gap:7px;background:transparent}
.header .languages a[aria-current=true]::after{content:'▾';font-size:10px;color:var(--gold)}
.header .languages:hover a,.header .languages:focus-within a{display:inline-flex}
/* small column icon inside the header CTA, as in the mockup */
.header>.btn{gap:10px}
.header>.btn::after{content:'';width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d33' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M5 20h14M6.5 17h11M8 17V9.5M11.2 17V9.5M14.4 17V9.5M17.6 17V9.5M5.5 9.5h13M12 4.2L5.5 7.5h13z'/%3E%3C/svg%3E") center/contain no-repeat}
/* arrow on hero ghost button */
.hero .actions .btn.light::after{content:'→';color:var(--accent);margin-left:2px}
.nav a:after{background:var(--gold)}
.languages a[aria-current=true]{background:#ece5d4}
.btn{background:transparent;border:1px solid var(--accent);color:var(--ink);box-shadow:none;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
.btn:hover{background:var(--accent);color:#fdf9ef;box-shadow:0 6px 18px rgba(43,42,38,.14)}
.btn.light{background:transparent;color:var(--ink);border:1px solid #b9ad93;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
.btn.light:hover{background:var(--accent);border-color:var(--accent);color:#fdf9ef}

/* ---------- hero (light, marble & bronze) ---------- */
.hero{
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(160,130,69,.03) 46px 47px),
    radial-gradient(1100px 560px at 88% -12%, rgba(160,130,69,.10), transparent 55%),
    radial-gradient(900px 500px at -10% 110%, rgba(160,130,69,.06), transparent 60%),
    linear-gradient(165deg, rgba(250,247,240,.62) 0%, rgba(245,240,230,.42) 55%, rgba(239,232,216,.18) 100%),
    url(assets/hero-bg.jpg) center bottom/cover no-repeat,
    #f6f3ec;
  border:0;
  border-radius:0;
  color:var(--ink);
}
.hero .eyebrow,.hero-copy .eyebrow{color:var(--accent)!important}
.hero h1{color:#1f1e1b}
.hero h1 em{color:#4a4436}
.hero-copy>p{color:#5d574a}
.hero .micro{color:#8a8272}
.hero .btn.light{background:transparent;color:var(--ink);border:1px solid #a89a7d}
.hero .btn.light:hover{background:rgba(160,130,69,.10)}
.hero-art{background:transparent}
.hero-art::before{
  background:radial-gradient(circle, rgba(160,130,69,.22) 0%, rgba(201,168,106,.14) 45%, transparent 70%);
}
.hero-art img{
  border:1px solid #b39a66;
  border-radius:2px;
  box-shadow:0 0 0 9px #f6f1e6, 0 0 0 10px rgba(160,130,69,.55), 0 30px 44px rgba(43,42,38,.25);
}
.hero-proof{color:#847c69;border-top-color:#d9cfbc}

/* ---------- facts ---------- */
.facts{border-bottom-color:#ddd2b8;padding:40px 0}
.fact{background:transparent;border:0;border-left:1px solid #ddd2b8;border-radius:0;padding:4px 0 4px 30px}
.fact:first-child{background:none;color:var(--ink);border:0;padding-left:0}
.fact::before{content:'';display:block;width:36px;height:36px;margin-bottom:16px;background-position:left center;background-repeat:no-repeat;background-size:36px 36px}
.fact:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d33' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.5C10 4 7.3 3.4 4.5 3.4v14.2c2.8 0 5.5.6 7.5 2.1 2-1.5 4.7-2.1 7.5-2.1V3.4c-2.8 0-5.5.6-7.5 2.1z'/%3E%3Cpath d='M12 5.5v14.2'/%3E%3C/svg%3E")}
.fact:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d33' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7.4' r='2.7'/%3E%3Cpath d='M7.4 17.6c0-2.9 2-4.5 4.6-4.5s4.6 1.6 4.6 4.5'/%3E%3Ccircle cx='4.9' cy='9.6' r='1.9'/%3E%3Cpath d='M2.3 16.7c.2-2.1 1.5-3.2 3.1-3.2'/%3E%3Ccircle cx='19.1' cy='9.6' r='1.9'/%3E%3Cpath d='M21.7 16.7c-.2-2.1-1.5-3.2-3.1-3.2'/%3E%3C/svg%3E")}
.fact:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d33' stroke-width='1.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.9 3.2 2.9 13.8 0 17M12 3.5c-2.9 3.2-2.9 13.8 0 17'/%3E%3C/svg%3E")}
.fact:nth-child(4)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d33' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l7 2.8v5.8c0 4.1-3 6.9-7 8.4-4-1.5-7-4.3-7-8.4V6z'/%3E%3Cpath d='M9.2 11.8l2 2 3.8-3.8'/%3E%3C/svg%3E")}
.fact strong{color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:34px}
.fact span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.1em;line-height:1.55;display:block;margin-top:8px}
.fact:first-child strong{color:var(--ink)}
.fact:first-child span{color:var(--muted)}

/* ---------- topics ---------- */
.topic{background:var(--white);border:1px solid #e3dbc8;box-shadow:0 4px 14px rgba(43,42,38,.05)}
.topic .code{color:var(--accent);font-family:Georgia,serif}
.topic:first-child{
  background:linear-gradient(150deg,#8a6d33 0%, #5c4820 90%);
  color:#f8f3e8;border:0;box-shadow:0 18px 40px rgba(92,72,32,.28);
}
.topic:first-child .code{color:#e2d2ac}
.topic:first-child p{color:#e9e0cb}
.topic:last-child{background:#f0ebdd}
.topics{grid-template-columns:repeat(2,minmax(0,1fr))}
.topic:first-child{grid-row:auto;min-height:340px}
.topic:last-child{display:flex;flex-direction:column;justify-content:flex-end;min-height:340px}

/* ---------- "issue" section ---------- */
.tint{background:linear-gradient(160deg,#f1ebdd 0%, #e9e1cd 100%);color:var(--ink);border-top:1px solid #ddd2b8;border-bottom:1px solid #ddd2b8}
.tint h2,.tint h3{color:var(--ink)}
.cover-stage{
  background:radial-gradient(420px 420px at 50% 35%, rgba(160,130,69,.20), transparent 70%), #f5efe1;
  border:1px solid rgba(160,130,69,.45);
}
.cover-stage img{box-shadow:0 24px 44px rgba(43,42,38,.25);border-radius:4px}
.issue-copy .eyebrow,.issue-copy .micro{color:#8a6d33}
.issue-copy p{color:#4f493d}
.issue-copy p.notice{color:#847c69}
.issue-copy .btn.light{background:#8a6d33;color:#fdf9ef;border:0}
.issue-copy .btn.light:hover{background:#6f5726}

/* ---------- steps ---------- */
.step b{background:#f2ecdd;color:var(--accent);border:1px solid #d3c39c}

/* ---------- CTA ---------- */
.cta{background:linear-gradient(135deg,#f4efe3 0%, #ede5d2 60%, #e6d9b8 140%);border:1px solid #ddd2b8;color:var(--ink)}
.cta .eyebrow{color:#8a6d33}
.cta p{color:var(--muted)}
.cta .btn{background:var(--ink);color:#f4efe3;border-color:var(--ink)}
.cta .btn:hover{background:#8a6d33;border-color:#8a6d33}

/* ---------- text links, tags ---------- */
.text-link{text-decoration-color:#c2b596}
.text-link:hover{color:var(--accent);text-decoration-color:var(--gold)}
.tag{color:var(--accent)}
.article a{color:var(--accent)}
summary::marker{color:var(--gold)}

/* ---------- interior pages ---------- */
.side{background:var(--white);border:1px solid #e3dbc8}
.side a:hover,.side a[aria-current=page]{background:#f2ecdd;color:var(--accent)}
.checklist{background:#f4efe2;border:1px solid #e3dbc8}
.empty{background:#f4efe2;border:1px solid #e3dbc8}
details{background:#f4efe2;border:1px solid #e7dfcb}
details[open]{background:#efe8d7}
.filters button{background:#efe9da}
.filters button:hover{background:#e6ddc9}
.filters button[aria-pressed=true]{background:var(--accent);color:#fdf9ef}
.searchbox{border-color:var(--line)}
.editor{background:var(--white);border:1px solid #e3dbc8;box-shadow:0 4px 14px rgba(43,42,38,.05)}
.editor .initials{background:linear-gradient(150deg,#8a6d33,#5c4820);color:#fdf9ef}
.publication-search input,.publication-search select{border-color:#b9ad93}
.archive-page h2[tabindex="-1"]:focus{outline-color:var(--accent)}
.archive-sections{background:#f0ebdd;color:var(--ink)}
.cms-preview-banner{background:#33302a}

/* ---------- leadership (editors page) ---------- */
.leadership{margin:4px 0 42px}
.leadership h2,.board-heading{font-size:clamp(28px,3vw,38px);margin:0 0 22px}
.leadership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.leader-card{background:var(--white);border:1px solid #e3dbc8;box-shadow:0 4px 14px rgba(43,42,38,.05)}
.leader-card:first-child{
  background:linear-gradient(150deg,#33302a,#211f1b);
  color:#f4efe3;border:1px solid rgba(201,168,106,.5);
}
.leader-card:first-child .tag,.leader-card:first-child p{color:#d9cfba}
.leader-card:first-child .tag{color:#cdb283}
.leader-card:first-child .initials{background:rgba(255,255,255,.12)}
.leader-card h3{font-size:clamp(25px,2.3vw,34px);margin:18px 0}
.leader-card p{font-size:15px;margin:8px 0}
.board-heading{margin-top:10px}

/* ---------- footer ---------- */
.footer{background:linear-gradient(180deg,#33302a 0%, #211f1b 100%);color:#f0ebdd}
.footer .brand-name em{color:#cdb283}
.footer p{color:#bdb5a2}
.footer .tag{color:#cdb283}
.footer a:hover{color:#e9dcba}
.copyright{color:#9d9682}
.footer .brand-mark{width:50px;height:50px}
.footer .brand-name strong{font-size:26px}
.footer .brand-name em{font-size:24px}
.footer .wrap:after{content:none}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .leadership-grid{grid-template-columns:minmax(0,1fr)}
  .brand-name strong,.brand-name em{font-size:16px}.brand-name small{font-size:7px}
  .header .menu{background:var(--ink)}
  .header .nav{background:#f2ecdd}
}
@media(max-width:700px){
  .brand{gap:8px}.brand-mark{width:40px;height:40px}
  .brand-name strong,.brand-name em{font-size:14px}
  .brand-name small{font-size:7px;letter-spacing:1.1px}
  .topics{grid-template-columns:minmax(0,1fr)}
  .topic:first-child,.topic:last-child{min-height:0}
  .archive-sections{background:#f0ebdd}
  .fact{border:0;padding:0}
  .fact strong{font-size:26px}
  .header .languages a{display:inline-flex}
}
