/* «Տուֆ» palette — colours sampled from Ani's 2026 portrait (tuff stone, leather, paper).
   The brand red #D90429 stays the single accent. Loaded after site-theme.css. */
:root{
  --bg:#0E0A08;--surface:#17110D;--raised:#211812;--ink:#F3EADB;--muted:#B5A592;--line:#F3EADB1A;
  --tuff:#C9874F;--tuff-deep:#8A4E2B;--paper:#EFE6D4;--paper-ink:#1C140F;
  --hero-paper:#E9DFCC;--hero-ink:#17100B;
}
/* design-interactions.js writes --bg on <html> while scrolling, so the page colour is set literally. */
html,body{background:#0E0A08!important;color:var(--ink)}
.deck-card{background:#17110D!important}
.deck-card.is-logo{background:#EFE6D4!important}
.site-header,.masthead,.site-footer{background:#0E0A08eb!important;border-color:var(--line)!important}
main,section,.section-block,.archive-section,.about-section,.writing-section,.sources-section,.faq-section{background-color:transparent}
h1,h2,h3,.stat strong{color:var(--ink)}
.eyebrow,.roles,.deck-meta,.stat,.section-heading p,.author-intro p,.dek{color:var(--muted)}

/* Cards: warm surfaces instead of neutral grey glass. */
.stat,.writing-preview article,.writing-entry,.about-columns>*,.book-card,.book-preview,.source-grid>*,
.faq-section details,.contact-section,.partner-strip,.service-card,.filmography-table-wrap .archive-poster-frame{
  background:linear-gradient(180deg,#1B140F,#140F0B)!important;border-color:var(--line)!important}
.stat strong{color:var(--tuff)!important}

/* Buttons: paper instead of plain white. */
.deck-actions a.deck-about,.hero-actions a:first-child,.cta a:first-child{background:var(--paper)!important;color:var(--paper-ink)!important;border-color:var(--paper)!important}
a.secondary-action,.hero-actions a,.cta a,.filter-button,.source-links a{border-color:#F3EADB33!important}
/* The hero is light paper, so its main button stays dark ink. */
.landscape-hero .hero-actions a:first-child{background:#1C140F!important;color:#F3EADB!important;border-color:#1C140F!important}
.landscape-hero .hero-actions a{border-color:#1C140F55!important}

/* The portrait gets a warm light, as if the tuff wall were lit behind it. */
.author-intro figure{box-shadow:0 40px 90px -40px #C9874F99}

/* Very light film grain on the dark pages. */
body::after{content:'';position:fixed;inset:0;z-index:9999;pointer-events:none;opacity:.07;mix-blend-mode:overlay;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
