/* Michael Emanuel brand direction, October 2026. Non-destructive skin. */
:root{--erg-navy:#0D1B4B;--erg-coral:#D85A30;--erg-cream:#F1EFE8;--erg-charcoal:#2C2C2A;--erg-gray:#5F5E5A;--erg-ink:#2C2C2A;--erg-paper:#F1EFE8;--erg-accent:#D85A30;--ink:#2C2C2A;--cream:#F1EFE8;--muted:#5F5E5A;--gold:#D85A30;--paper:#F1EFE8;--accent:#D85A30}
html{background:var(--erg-cream)}
body{color:var(--erg-charcoal);font-family:'Montserrat',Arial,sans-serif}
body.erg-edition{--erg-ink:#2C2C2A;--erg-paper:#F1EFE8;--erg-accent:#D85A30}
body p,body li,body a,body button,body label,body input,body textarea,body select,body .lead,body .eyebrow,body .erg-eyebrow{font-family:'Montserrat',Arial,sans-serif}
body h1,body h2,body h3,body h4,body .serif,body .quote,body .erg-giant-quote{font-family:'Playfair Display',Georgia,serif}
/* Header floats above hero artwork just as before. Do not alter positioning, sizing, or scroll logic. */
body .site-header:not(.solid),body.erg-edition .erg-header{background:transparent}
body .site-header.solid{background:var(--erg-cream);color:var(--erg-charcoal)}
/* Brand brief's editable stacked lockup; original image remains in HTML as rollback source. */
.erg-brief-lockup{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:max-content;max-width:100%;white-space:nowrap;line-height:1;color:inherit;text-decoration:none}
.erg-brief-lockup .erg-brief-initials{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(24px,2.5vw,36px);letter-spacing:.36em;text-indent:.36em}
.erg-brief-lockup .erg-brief-rule{width:49%;height:1px;background:currentColor;opacity:.75;margin:5px 0 7px}
.erg-brief-lockup .erg-brief-full{font-family:'Montserrat',Arial,sans-serif;font-size:clamp(6px,.62vw,8px);letter-spacing:.18em;text-indent:.18em;font-weight:400}
.erg-brand-brief-active :is(.erg-header .erg-mark,.site-header .brand){line-height:1;flex-shrink:0;min-width:0}
.erg-brand-brief-active :is(.erg-header .erg-mark,.site-header .brand) > img{display:none!important}
.erg-brand-brief-active :is(.erg-header .erg-mark,.site-header .brand) .erg-brief-lockup{color:inherit}
.erg-brand-brief-active .erg-header .erg-mark{width:auto;max-width:210px}
/* Preserve the homepage's transparent image-overlaid header. */
body.erg-edition .erg-hero{background-color:var(--erg-navy)}
body.erg-edition .erg-hero-shade{background:linear-gradient(90deg,rgba(13,27,75,.78),rgba(13,27,75,.2) 85%),linear-gradient(0deg,rgba(13,27,75,.45),transparent 50%)}
body.erg-edition .erg-hero h1,body.erg-edition .erg-hero h1 em{color:var(--erg-cream)}
body.erg-edition .erg-section-black{background:var(--erg-navy);color:var(--erg-cream)}
body.erg-edition .erg-section-black .erg-portfolio-heading h2 em{color:#c9d0df}
body.erg-edition .erg-section-black .erg-portfolio-heading p,body.erg-edition .erg-home-listings .listing-city{color:#d3d8e5}
body.erg-edition .erg-services .erg-service-primary{background:var(--erg-navy);color:var(--erg-cream)}
body.erg-edition .erg-services .erg-service-secondary{background:#e7e4dc;color:var(--erg-charcoal)}
body.erg-edition .erg-portrait{background:var(--erg-cream)}
body.erg-edition .erg-closing{background:#e6e3da;color:var(--erg-charcoal)}
body.erg-edition .erg-footer,body .footer{background:var(--erg-navy);color:var(--erg-cream)}
body.erg-edition .erg-nav{background:var(--erg-cream);color:var(--erg-charcoal)}
body.erg-edition .erg-nav a{color:var(--erg-charcoal);font-family:'Playfair Display',Georgia,serif}
/* Inner pages: cream, navy, charcoal; preserve existing photo/hero placements. */
body .page-hero:not(.photo){background:var(--erg-cream);color:var(--erg-charcoal)}
body .page-hero.photo,body .dark-banner{background-color:var(--erg-navy)}
body .section:not(.dark-banner):not(.section-dark){background-color:var(--erg-cream)}
body .button:not(.light):not(.outline-light){background:var(--erg-navy);border-color:var(--erg-navy);color:var(--erg-cream)}
body .button:not(.light):not(.outline-light):hover{background:var(--erg-coral);border-color:var(--erg-coral);color:white}
body a:focus-visible,body button:focus-visible{outline:2px solid var(--erg-coral);outline-offset:4px}
/* Coral is a small signal color, not a large section fill. */
body.erg-edition .erg-opening .erg-giant-quote i,body.erg-edition .erg-closing h2 em{color:var(--erg-coral)}
body.erg-edition .listing-badge,body .listing-badge{border-color:var(--erg-coral)}
/* Restore brand separators and keep marquee motion subtle. */
#erg-brand-ticker{background:var(--erg-navy)!important;color:var(--erg-cream)!important}
#erg-brand-ticker .erg-ticker-spark{color:var(--erg-coral)!important}
/* Avoid introducing fixed headers, moving heroes, or global grid/spacing overrides. */
@media(max-width:700px){.erg-brief-lockup .erg-brief-initials{font-size:26px;letter-spacing:.3em;text-indent:.3em}.erg-brief-lockup .erg-brief-full{font-size:6px;letter-spacing:.1em;text-indent:.1em}.erg-brief-lockup .erg-brief-rule{margin:3px 0 5px}.erg-brand-brief-active .erg-header .erg-mark{max-width:165px}}
@media(prefers-reduced-motion:reduce){#erg-brand-ticker .erg-ticker-track{animation:none!important}}
