/* Cocoa reference palette. Color-only overlay; the supplied photo stays intact. */
:root {
  --paper:#432d26; --paper-deep:#4b342c; --ink:#f5e9dd; --muted:#d6c1b3;
  --line:#7f5d4d; --orange:#d0b49a; --orange-dark:#e3cab4; --sunny-coral:#d0b49a;
  --iri-base:#3e2a23; --iri-panel:#4b342c; --iri-panel-raised:#56352c;
  --iri-gold-line:rgba(208,180,154,.34);
}
html,body { background:#432d26; color:#f5e9dd; }
::selection { background:#d0b49a; color:#302019; }
.hero,.page-hero,.cta-section {
  background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),url('/assets/coffee-waves.jpg') center / cover no-repeat;
}
.site-header { background:rgba(62,42,35,.97); border-color:#7f5d4d; }
.main-nav,.main-nav.is-open { background:#3e2a23; }
.main-nav a { color:#d6c1b3; }
.main-nav a:hover,.main-nav a[aria-current="page"],.text-link:hover { color:#e3cab4; }
.eyebrow,.accent,.serif,em,.text-link,.hero h1 em,.hero-footer .foot-label,
.hero-note .icon,.hero-footer .foot-word::before,.path-card>.icon,.library-card>.icon,
.map-node .icon,.related-card .icon,.direction-badge .icon,.map-center .brand-mark,
.dna-card .icon,.dna-card .dna-title,.product-row .step-num,.step-no,.horizon strong,
.iri-orbit strong,.iri-orbit .icon,.footer-note { color:#d0b49a; }
.hero-lead,.bio-body,.dna-intro>p,.path-card p,.library-card p,.value-card p,
.map-node .node-tag,.related-card p,.map-center small,.dna-card p,.dna-card ul,
.founder-copy>p,.iri-orbit span,.footer-nav { color:#d6c1b3; }
.btn { color:#f5e9dd; border-color:#b69a84; }
.btn:hover { background:#563d32; }
.btn-primary,.view-switch button.active,.tab.active,.skip {
  background:#d0b49a; border-color:#d0b49a; color:#302019;
}
.btn-primary:hover { background:#e3cab4; border-color:#e3cab4; color:#302019; }
.hero-art .orbit-label { background:rgba(62,42,35,.95); color:#f5e9dd; border-color:#b69a84; }
.path-card,.library-card,.view-switch,.format-tag,.direction-context,.notice,
.map-source,.iri-section { background:#4b342c; border-color:#7f5d4d; }
.path-card,.library-card,.map-node,.related-card,.direction-badge,.direction-context h3 { color:#f5e9dd; }
.path-card:hover { background:#563d32; border-color:#b69a84; }
.ecosystem-section,.site-footer { background:#3e2a23; border-color:#7f5d4d; }
.hero-footer,.founder-preview { border-color:#7f5d4d; }
.view-switch button,.tab,.format-tag,.direction-context,.notice { color:#d6c1b3; }
.tab { border-color:#9d7d68; }
.tab:not(.active):hover { background:#563d32; }
.map-center {
  background:#4b342c; border-color:#b69a84; color:#f5e9dd;
  box-shadow:0 0 0 7px #3e2a23,0 0 0 8px #7f5d4d;
}
.map-caption { color:#d0b49a; }
.map-lines { stroke:rgba(208,180,154,.64); }
.map-lines path[stroke] { stroke:rgba(208,180,154,.52); }
.map-lines .orange-line { stroke:#d0b49a; }
.dna-wrap { background:#45342c; border-color:#7f5d4d; }
.dna-card { background:#4a3c34; border-color:#927765; color:#f5e9dd; }
.dna-card:nth-child(2) { background:#513b38; border-color:#a08379; }
.dna-card:nth-child(3) { background:#483c43; border-color:#96818e; }
.quote-strip,.founder-copy { background:#493229; border-color:#7f5d4d; }
.quote-strip blockquote { color:#f5e9dd; }
.founder-preview .portrait-mini { background:#3e2a23; }
.notice { border-left-color:#d0b49a; }
.iri-orbit { background:#51392f; border-color:#b69a84; }
.skyline { filter:brightness(0) saturate(100%) invert(78%) sepia(14%) saturate(474%) hue-rotate(346deg) brightness(94%) contrast(88%); }
.modal { background:#4b342c; color:#f5e9dd; border-color:#b69a84; }
.modal::backdrop { background:rgba(35,22,17,.78); }
.close-dialog { color:#f5e9dd; }
select,textarea,input { background:#3e2a23; color:#f5e9dd; border-color:#b69a84; caret-color:#e3cab4; }
select option { background:#3e2a23; color:#f5e9dd; }
textarea::placeholder,input::placeholder { color:#c9b09e; }
.form-field>span { color:#e5d1c0; }
.brief-result pre { background:#3e2a23; color:#e5d1c0; }
.status { color:#dbccb6; }
/* A cream foreground keeps the fine copy readable even on the wave highlights.
   Controls retain the champagne palette and their dark lettering. */
.hero h1,.hero h1 em,.hero .eyebrow,.hero-lead,.hero-note,.hero .text-link,
.hero-footer,.hero-footer .foot-label,.hero-footer .foot-word::before,
.page-hero h1,.page-hero h1 em,.page-hero .eyebrow,.page-hero .intro,.page-hero .back-link,
.cta-box h2,.cta-box h2 em,.cta-box .eyebrow,.cta-box p { color:#fff3e8; }
