/* NEPHRA · Identità proposta, 21 ottobre 2026.
   Il rosso è una scelta di marca. I contrasti sono misure, non prove cliniche. */
:root {
  --paper: #fff; --white: #fff; --ink: #20232c; --muted: #565966;
  --green: #9f1d35; --accent: #9f1d35; --soft: #fbf0f2; --line: #e3e4e8;
  --red: #9f1d35; --radius: 20px; font-size: 17px; line-height: 1.65;
}
body { background: #fff; }
h1,h2,h3 { font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif; text-wrap: balance; }
h1 { font-weight: 750; letter-spacing: -.045em; line-height: 1.1; }
h2 { font-weight: 650; letter-spacing: -.025em; }
button,a { scroll-margin-block: 100px; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline-color: #223a7a; }
.masthead { max-width: 1600px; padding: 22px 42px; gap: 34px; background: #fff; }
.wordmark { gap: 10px; font-size: 1.65rem; font-weight: 800; letter-spacing: .025em; }
.wordmark img { width: 43px; height: 43px; }
.brand-dot { display: none; }
.masthead-note { font-size: .82rem; border: 0; padding-left: 0; }
.header-actions { gap: 12px; }
.header-actions .quiet { border-radius: 50%; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; background: #f5f5f7; }
.button { border-radius: 12px; min-height: 48px; padding: 12px 20px; }
.button:hover { background: #7d1429; }
.button.secondary { background: #fff; border-color: #9f1d35; }
.button.secondary:hover { background: #fbf0f2; }
.shell { grid-template-columns: 190px minmax(0,1fr) 240px; gap: 34px; padding: 34px 42px 80px; }
main { min-width: 0; }
.nav-link { color: #565966; border-radius: 12px; padding: 13px 14px; }
.nav-link[aria-current=page],.nav-link[aria-current=page]:hover { background: #fbf0f2; color: #9f1d35; box-shadow: inset 3px 0 #9f1d35; }
.sidebar-note { padding: 24px 10px 10px; }
.eyebrow { text-transform: none; font-size: .78rem; letter-spacing: .01em; font-weight: 650; }
.rss-link { font-size: .8rem; }
.rightbar { border-left: 0; padding-left: 0; }
.aside-section { padding: 24px 20px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; }
.aside-section h2 { font-size: 1.02rem; }
.aside-section p { font-size: .85rem; }
.follow-small { width: 44px; min-height: 44px; border-color: #9f1d35; }
.topic-item { gap: 8px; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 160px; align-items: center; gap: 25px; border: 0; padding: 22px 0 30px; margin-bottom: 0; }
.hero-copy { min-width: 0; }
.hero .eyebrow { display: block; margin-bottom: 20px; color: #565966; font-size: .8rem; }
.hero h1 { font-size: clamp(2.4rem,3.4vw,3.6rem); max-width: 650px; margin-bottom: 22px; }
.hero p { font-size: 1.02rem; max-width: 500px; }
.hero-symbol { width: 160px; height: 240px; border-radius: 80px; background: #fbf0f2; display: grid; place-items: center; position: relative; }
.hero-symbol img { width: 150px; height: 150px; }
.hero-symbol::after { content: ''; position: absolute; inset: 16px; border: 1px solid #ebc5cc; border-radius: 70px; pointer-events: none; }
.hero-actions { gap: 10px; margin-top: 25px; }
.hero-actions .button { font-size: .83rem; }
.research-strip { border-radius: 12px; border: 1px solid #e4e5e9; background: #f7f7f9; padding: 16px 18px; margin: 0 0 32px; font-size: .84rem; }
.research-strip .signal { background: #565966; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: 1.65rem; }
.section-heading .eyebrow { text-transform: lowercase; }
.searchbar input { background: #f7f7f9; border-color: #8b8d98; border-radius: 12px; }
.tabs { gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.tab { border: 0; border-radius: 0; padding: 12px 12px; font-size: .83rem; }
.tab[aria-pressed=true] { background: transparent; color: #9f1d35; box-shadow: inset 0 -3px #9f1d35; }
.chips { margin-top: 14px; gap: 8px; }
.chip { min-height: 44px; border-color: #bfc1c9; font-size: .77rem; background: #fff; }
.chip[aria-pressed=true] { border-color: #9f1d35; background: #fbf0f2; color: #9f1d35; }
.article-card { padding: 27px 0; }
.article-card.featured { border: 0; border-radius: 18px; background: #fbf0f2; padding: 28px; margin-bottom: 5px; }
.article-card h3 { font-family: 'Iowan Old Style',Georgia,serif; font-size: 1.65rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.article-meta { font-size: .77rem; gap: 10px; }
.source-badge.editorial { border-radius: 5px; padding: 3px 8px; background: transparent; color: #9f1d35; border: 1px solid #c98996; letter-spacing: 0; }
.article-card p { font-size: .95rem; }
.article-actions { font-size: .8rem; row-gap: 12px; }
.article-actions>div { display: flex; gap: 6px; }
.article-actions button { border-radius: 7px; min-height: 44px; padding: 6px 9px; }
.article-actions button:hover { background: #f4e1e5; }
.article-actions>span { color: #565966; }
.avatar { background: #fbf0f2; }
.avatar.official { background: #9f1d35; }
.notice { border-radius: 0 12px 12px 0; }
.research-card.wide { background: #9f1d35; }
.research-card.wide p,.research-card.wide .eyebrow,.research-card.wide a { color: #fff; }
.research-card h2 { font-size: 1.4rem; }
.prose { max-width: 68ch; }
.reader p { font-size: 1.05rem; line-height: 1.85; }
.dialog-title { font-family: 'Avenir Next',Avenir,'Segoe UI',sans-serif; font-size: 1.9rem; font-weight: 700; }
dialog { border-radius: 22px; overscroll-behavior: contain; }
dialog::backdrop { background: #20232c70; }
.dialog-top { padding-bottom: 10px; }
.question-tag { background: #f1f1f6; color: #414452; }
.mobile-nav a[aria-current=page] { background: #fbf0f2; border-radius: 10px; }
input,textarea,select { border-color: #8b8d98; }
input[name=handle],input[name=code] { font-variant-ligatures: none; }
.footer { font-size: .8rem; }
.podcast-intro { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; align-items: center; margin: 10px 0 35px; }
.podcast-intro img { width: 220px; height: 220px; border-radius: 18px; }
.podcast-intro h1 { font-size: 2.5rem; }
.podcast-intro p { color: var(--muted); font-size: .95rem; }
audio { width: 100%; margin: 15px 0; }
details summary { cursor: pointer; min-height: 44px; color: var(--accent); padding: 8px 0; }
@media(min-width:1550px) { .shell { grid-template-columns: 205px minmax(0,1fr) 250px; gap: 44px; } }
@media(max-width:1200px) { .shell { grid-template-columns: 175px minmax(0,1fr); gap: 30px; padding: 28px; } .masthead { padding: 20px 28px; } }
@media(max-width:760px) {
  .masthead { padding: 16px 20px; gap: 10px; }
  .wordmark { font-size: 1.3rem; gap: 7px; }
  .wordmark img { width: 35px; height: 35px; }
  .shell { display: block; padding: 22px 20px 120px; }
  .hero { grid-template-columns: minmax(0,1fr) 60px; gap: 12px; padding: 8px 0 26px; align-items: start; }
  .hero h1 { font-size: 2.35rem; letter-spacing: -.04em; }
  .hero .eyebrow { font-size: .74rem; margin-bottom: 16px; }
  .hero p { font-size: .96rem; }
  .hero-symbol { width: 60px; height: 110px; border-radius: 40px; margin-top: 40px; }
  .hero-symbol img { width: 70px; max-width: none; height: 70px; }
  .hero-symbol::after { inset: 5px; }
  .hero-actions { grid-column: 1 / -1; }
  .hero-copy { display: contents; }
  .hero-copy>.eyebrow,.hero-copy>h1,.hero-copy>p { grid-column: 1; }
  .hero-copy>.eyebrow { grid-row: 1; }
  .hero-copy>h1 { grid-row: 2; margin-bottom: 5px; }
  .hero-copy>p { grid-column: 1 / -1; margin-bottom: 0; }
  .hero-symbol { grid-column: 2; grid-row: 1 / 3; }
  .hero-actions { margin-top: 8px; }
  .hero-actions .button { font-size: .82rem; padding: 11px 14px; }
  .research-strip { font-size: .8rem; gap: 10px; padding: 14px; }
  .section-heading h2 { font-size: 1.5rem; }
  .article-card h3 { font-size: 1.35rem; }
  .article-card.featured { padding: 22px; }
  .article-card p { font-size: .94rem; }
  .article-meta { font-size: .8rem; }
  .mobile-nav { padding: 9px 8px max(9px,env(safe-area-inset-bottom)); }
  .mobile-nav a { font-size: .7rem; min-width: 54px; min-height: 54px; padding: 6px; }
  .header-actions .button { font-size: .82rem; padding: 8px 13px; }
  .podcast-intro { display: block; }
  .podcast-intro img { width: 180px; height: 180px; margin-bottom: 20px; }
}
@media(max-width:360px) { .hero { display: block; } .hero-copy { display: block; } .hero-symbol { display: none; } .hero h1 { margin-bottom: 18px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media(min-width:761px) { .hero h1 { font-family: 'Iowan Old Style',Georgia,serif; font-size: clamp(2.8rem,3.7vw,4.1rem); font-weight: 500; } }
.article-meta,.chip,.eyebrow { font-size: max(.8rem,13.6px); }
img { max-width: 100%; }
.prose,.reader,.post-body { overflow-wrap: anywhere; }

.hero h1 { font-family:'Iowan Old Style',Georgia,serif; font-weight:500; }
@media(max-width:760px) { .hero h1 { font-size:2.6rem; } .research-strip { display:block; } .research-strip .signal { display:none; } .research-strip a { display:block; min-height:44px; padding-top:9px; } }
