/* ME Standard Visual Layer V3 — Prestige Editorial System
   Presentation only: no market facts, source authority, scoring or execution semantics. */
:root {
  --mes-ink:#02070d;
  --mes-ink-2:#050c14;
  --mes-ink-3:#08131e;
  --mes-paper:#f1efe9;
  --mes-copy:#b2bdc4;
  --mes-muted:#748995;
  --mes-blue:#8fcdf4;
  --mes-gold:#c2a36b;
  --mes-line:rgba(190,210,223,.12);
  --mes-line-blue:rgba(143,205,244,.25);
  --mes-line-gold:rgba(194,163,107,.26);
  --mes-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif;
  --mes-sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.editorial-site.newsroom-site,
body.article-site,
body.pricing-site {
  background:radial-gradient(circle at 80% -5%,rgba(75,137,176,.07),transparent 31rem),linear-gradient(180deg,var(--mes-ink-2),var(--mes-ink));
  color:var(--mes-paper);
  font-family:var(--mes-sans);
}
.newsroom-hero h1,.front-lead h2,.lead-story h2,.sunday-intro h2,
.market-article h1,.article-analysis h2,.pricing-hero h1,.pricing-free h2,
.pricing-policy h2,.legal-wrap>h1,.legal-copy h2 {
  font-family:var(--mes-serif);
  font-weight:500;
  font-synthesis:none;
  text-wrap:balance;
}

/* Masthead: institutional, restrained, and brand-led. */
.site-header.editorial-header {
  background:rgba(2,7,13,.92);
  border-bottom:1px solid rgba(194,163,107,.18);
  box-shadow:0 12px 34px rgba(0,0,0,.16);
  backdrop-filter:blur(18px) saturate(112%);
}
.nav-wrap{min-height:70px}
.brand-mark {
  border-color:rgba(194,163,107,.40);
  box-shadow:0 0 0 1px rgba(143,205,244,.035),0 8px 28px rgba(0,0,0,.18);
}
.brand-copy strong{color:#f3f1eb;letter-spacing:.18em}
.brand-copy small{color:#7d8e99;letter-spacing:.24em}
.nav{gap:25px}
.nav>a{position:relative;color:#a6b4bd;font-size:12px;border-bottom:0}
.nav>a::after{content:"";position:absolute;left:0;right:100%;bottom:16px;height:1px;background:linear-gradient(90deg,var(--mes-gold),var(--mes-blue));transition:right .18s ease}
.nav>a:hover::after,.nav>a:focus-visible::after{right:0}
.nav-social{border-left-color:rgba(194,163,107,.16)}
.desk-rail{background:rgba(3,10,17,.95);border-bottom:1px solid rgba(143,205,244,.07)}
.desk-rail-inner{min-height:31px;color:#708694;font-size:8px;letter-spacing:.15em}
.breaking-bar{background:#030a11;border-bottom-color:rgba(194,163,107,.12)}
.breaking-inner>strong{color:var(--mes-gold);letter-spacing:.16em}
.breaking-track a,.breaking-track>span{color:#aab6bd}
.habit-bar{background:rgba(3,10,17,.95);border-bottom:1px solid rgba(143,205,244,.07)}
.habit-bar a,.habit-bar button{color:#778b98;letter-spacing:.09em}
.market-pulse{background:linear-gradient(90deg,rgba(194,163,107,.025),transparent 30%,rgba(143,205,244,.02));border-bottom:1px solid rgba(194,163,107,.10)}
.market-pulse strong{color:#aa8f61}

/* Hero: publication first, telemetry second. */
.newsroom-hero {
  position:relative;
  padding:clamp(64px,7vw,94px) 0 62px;
  background:radial-gradient(circle at 82% 16%,rgba(93,155,194,.08),transparent 27rem),linear-gradient(180deg,#050e17,#030a11);
  border-bottom:1px solid rgba(194,163,107,.10);
}
.newsroom-hero::after{content:"";position:absolute;left:50%;bottom:0;width:min(1180px,calc(100% - 40px));height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(194,163,107,.42) 20%,rgba(143,205,244,.15) 74%,transparent)}
.newsroom-hero-grid{grid-template-columns:minmax(0,1.62fr) minmax(260px,.38fr);gap:clamp(48px,7vw,96px);align-items:end}
.masthead-position .eyebrow{margin-bottom:19px;color:#b99d6a;font-size:9px;letter-spacing:.29em}
.newsroom-hero h1{max-width:860px;color:var(--mes-paper);font-size:clamp(48px,6.1vw,76px);line-height:.99;letter-spacing:-.045em}
.newsroom-hero .hero-lede{max-width:700px;margin-top:26px;color:#adb8bf;font-size:clamp(16px,1.5vw,18px);line-height:1.75}
.masthead-proof{margin-top:31px;padding-top:15px;border-top:1px solid rgba(194,163,107,.14);gap:18px}
.masthead-proof span{color:#70838f;font-size:8px;letter-spacing:.16em}
.masthead-proof span::before{content:"";display:inline-block;width:14px;height:1px;margin-right:7px;vertical-align:3px;background:rgba(143,205,244,.45)}
.edition-card{border-radius:4px;border:1px solid var(--mes-line);border-top-color:rgba(194,163,107,.48);background:rgba(5,14,23,.72);box-shadow:0 24px 70px rgba(0,0,0,.20);padding:9px 18px 5px}
.edition-kicker{color:#b99d6a!important;font-size:8px;letter-spacing:.18em}
.edition-card>div{min-height:43px;border-top-color:rgba(185,207,222,.08)}
.edition-card span{color:#667b89}.edition-card strong{color:#dbe4e9;font-weight:600}

/* Front page lead: fewer cards, stronger newspaper geometry. */
.editorial-front{margin-top:50px;grid-template-columns:minmax(0,1.72fr) minmax(300px,.58fr);gap:0;border-top:1px solid rgba(194,163,107,.30);border-bottom:1px solid var(--mes-line)}
.front-lead{min-height:390px;padding:34px 48px 38px 0;border:0;border-right:1px solid var(--mes-line);border-radius:0;background:transparent;box-shadow:none}
.front-label-row span:first-child{color:#b99d6a;letter-spacing:.20em}.front-label-row span:last-child{color:#667b89}
.front-lead h2{max-width:900px;margin-top:72px;color:var(--mes-paper);font-size:clamp(35px,4.1vw,56px);line-height:1.03;letter-spacing:-.035em}
.front-lead>p{max-width:770px;color:#aab7c0;font-size:14px;line-height:1.8}
.front-link{width:fit-content;padding-bottom:4px;border-bottom:1px solid rgba(143,205,244,.34);color:#bcdcef}
.front-rail{gap:0;background:rgba(255,255,255,.006)}
.front-rail article{min-height:0;padding:22px 0 22px 28px;border:0;border-bottom:1px solid rgba(185,207,222,.10);border-radius:0;background:transparent}
.front-rail article:last-child{border-bottom:0}.front-rail article>span{color:#7892a2;font-size:8px;letter-spacing:.15em}.front-rail article>p{color:#bac4ca;font-size:12px;line-height:1.62}.front-priority>span{color:#b99d6a!important}

/* Section grammar: hairlines, not a wall of rounded cards. */
.newsroom-section{padding:clamp(64px,6.5vw,88px) 0}.section-muted{background:rgba(6,16,25,.50)}
.section-bar{min-height:34px;margin-bottom:28px;padding-bottom:12px;border-bottom:1px solid rgba(194,163,107,.18)}
.section-bar>span:first-child{color:#d8d8d3;font-size:9px;letter-spacing:.19em}
.section-bar>span:first-child::before{width:16px;height:1px;margin-right:10px;border-radius:0;background:var(--mes-gold);box-shadow:none;vertical-align:3px}
.feed-state{color:#6e8492}
.trader-home{padding-top:42px;padding-bottom:52px;background:linear-gradient(180deg,rgba(6,17,27,.90),rgba(4,12,20,.84));border-bottom:1px solid rgba(185,207,222,.08)}
.trader-home-grid,.sunday-grid,.intelligence-quad,.bank-grid,.desk-triad{gap:1px;background:rgba(185,207,222,.09)}
.trader-card,.sunday-card,.intel-card,.bank-card,.desk-panel{border:0;border-radius:0;background:#06111b;box-shadow:none}
.trader-card-primary,.sunday-card-primary,.intel-card-wide{background:#071622}
.trader-label,.intel-kicker{color:#7faeca}.trader-card-primary .trader-label,.sunday-card-primary>span{color:#baa06d}
.panel-action{border-radius:3px;border-color:rgba(143,205,244,.22)}

.sunday-prep{background:linear-gradient(90deg,rgba(194,163,107,.025),transparent 28%),linear-gradient(180deg,rgba(6,17,27,.76),rgba(3,10,17,.94))}
.sunday-intro{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:70px;margin-bottom:38px;padding-bottom:32px;border-bottom:1px solid rgba(194,163,107,.18)}
.sunday-intro h2{color:#f0eee8;font-size:clamp(38px,4.4vw,56px);line-height:1.02}.sunday-principle{border-left:1px solid rgba(194,163,107,.24);padding-left:28px}
.sunday-card{padding:25px 24px}.sunday-card>span{color:#7b91a0}.sunday-integration-grid{gap:1px;background:rgba(194,163,107,.15)}.sunday-integration-grid article{border:0;border-radius:0;background:#050f18}.sunday-disclaimer{padding-top:18px;border-top:1px solid rgba(185,207,222,.08)}

.market-console-section{padding:34px 0 42px;background:#02080e;border-top:1px solid rgba(194,163,107,.14);border-bottom:1px solid rgba(143,205,244,.08)}
.market-tape,.session-strip,.relationship-board,.session-handover{border-color:rgba(185,207,222,.10);background-color:rgba(6,17,27,.58)}.tape-item,.session-cell{border-color:rgba(185,207,222,.08)}
.newsroom-lead-grid{grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:42px}
.lead-story{position:relative;padding:34px 38px 38px 0;border:0;border-top:1px solid rgba(194,163,107,.40);border-bottom:1px solid var(--mes-line);border-radius:0;background:transparent;box-shadow:none}
.lead-story::before{content:"ME / MARKET INTELLIGENCE";display:block;margin-bottom:42px;color:#637a89;font-size:8px;font-weight:800;letter-spacing:.18em}
.lead-story h2{color:#efeee8;font-size:clamp(34px,3.7vw,50px);line-height:1.04}.lead-story p{color:#aab7bf;line-height:1.78}
.wire-list{border-top:1px solid rgba(194,163,107,.26)}.wire-item{padding:20px 3px;border-bottom-color:rgba(185,207,222,.10)}.wire-item:hover{background:transparent;border-bottom-color:rgba(143,205,244,.30)}
.wire-item h3{color:#d9deda;font-family:var(--mes-serif);font-size:19px;font-weight:500;line-height:1.18;letter-spacing:-.015em}.wire-item p{color:#8fa1ad}
.cause-grid{gap:1px;background:rgba(185,207,222,.10)}.cause-panel,.impact-panel{border:0;border-radius:0;background:#050f18;box-shadow:none}.cause-panel .section-bar,.impact-panel .section-bar{border-bottom-color:rgba(194,163,107,.15)}
.desk-panel{min-height:322px}.desk-panel-head{border-bottom-color:rgba(194,163,107,.14)}

/* Footer: confidence and publication authority. */
.footer.editorial-footer{padding-top:72px;background:linear-gradient(90deg,rgba(194,163,107,.025),transparent 32%),#01060b;border-top:1px solid rgba(194,163,107,.28)}
.footer-grid{grid-template-columns:1.8fr .72fr .95fr 1fr;gap:54px;padding-bottom:36px}.footer-grid>div:first-child p{max-width:410px;color:#748995;font-size:12px;line-height:1.8}.footer-grid strong{color:#b9b9b4;font-size:8px;letter-spacing:.19em}.footer-grid>div:not(:first-child) a{color:#7f919c;font-size:11px}.footer-grid>div:not(:first-child) a:hover{color:#e5e7e4}.legal-line{padding-top:18px;border-top:1px solid rgba(185,207,222,.08)}.legal-line p{color:#5f737f}

/* Dynamic market articles. */
body.article-site{min-height:100vh}.article-top{border-top:2px solid rgba(194,163,107,.52);border-bottom:1px solid rgba(185,207,222,.10);background:rgba(2,7,13,.94);backdrop-filter:blur(16px)}
.article-main{padding-top:clamp(58px,7vw,96px);padding-bottom:130px}.market-article{max-width:1040px}.article-meta{padding-bottom:18px;border-bottom:1px solid rgba(194,163,107,.34);color:#6d818e;font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.market-article h1{max-width:980px;margin-top:46px;color:var(--mes-paper);font-size:clamp(45px,6.8vw,80px);line-height:.99;letter-spacing:-.04em}.article-summary{max-width:780px;margin-top:42px;color:#b7c0c5;font-family:var(--mes-serif);font-size:clamp(19px,2vw,23px);line-height:1.62}
.article-tags span{border-radius:2px;border-color:var(--mes-line);color:#718793}.article-source{margin-top:44px;grid-template-columns:150px 1fr auto;padding:19px 0;border:0;border-top:1px solid var(--mes-line);border-bottom:1px solid var(--mes-line);border-radius:0;background:transparent}.article-source strong{color:#b99d6a}.article-source a{color:#9dcbe7}
.article-analysis{margin-top:86px;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);gap:clamp(46px,7vw,86px);padding-top:28px;border-top:1px solid rgba(194,163,107,.22)}.article-analysis h2{color:#e8e7e2;letter-spacing:-.025em}.article-analysis ul{border-top-color:var(--mes-line)}.article-analysis li{padding:19px 0;border-bottom-color:rgba(185,207,222,.09)}.article-causality-note{margin-top:50px;padding:18px 0 0 22px;border:0;border-left:1px solid rgba(194,163,107,.42);background:transparent;color:#7e919d}.related-market{margin-top:100px}.related-market article{padding:20px 0;border-bottom-color:rgba(185,207,222,.09)}.related-market article a{color:#c5cdca;font-family:var(--mes-serif);font-size:16px;line-height:1.25}

/* About / standards / legal / contact reading pages. */
.legal-page{min-height:100vh;padding:clamp(42px,6vw,74px) 0 110px;background:radial-gradient(circle at 86% 4%,rgba(74,134,172,.06),transparent 26rem),linear-gradient(180deg,var(--mes-ink-2),var(--mes-ink));color:var(--mes-paper)}
.legal-wrap{max-width:920px}.legal-wrap>a{display:inline-block;margin-bottom:74px;padding-bottom:3px;border-bottom:1px solid rgba(143,205,244,.22);color:#8195a1;font-size:11px}.legal-wrap>.eyebrow{color:#b99d6a;font-size:9px;letter-spacing:.26em}.legal-wrap>h1{max-width:800px;color:var(--mes-paper);font-size:clamp(44px,6.5vw,72px);line-height:1;letter-spacing:-.035em}.legal-wrap>.updated{margin-top:19px;padding-bottom:28px;border-bottom:1px solid rgba(194,163,107,.24);color:#6f8390;font-size:11px}.legal-copy{margin-top:54px}.legal-copy section{display:grid;grid-template-columns:minmax(200px,.38fr) minmax(0,.62fr);gap:58px;padding:31px 0 34px;border-bottom:1px solid rgba(185,207,222,.09)}.legal-copy h2{color:#dadad5;font-size:22px;line-height:1.15}.legal-copy p{color:#9eacb4;font-size:14px;line-height:1.85}.legal-copy a{color:#9dcbe7;border-bottom:1px solid rgba(143,205,244,.25)}

/* Pricing: premium, transparent, never salesy. */
body.pricing-site .pricing-hero{background:radial-gradient(circle at 82% 15%,rgba(93,155,194,.07),transparent 26rem),linear-gradient(180deg,#050e17,#030a11);border-bottom:1px solid rgba(194,163,107,.13)}
body.pricing-site .pricing-hero h1{color:var(--mes-paper);letter-spacing:-.04em;line-height:1.01}.pricing-principle{border-radius:4px;border-top-color:rgba(194,163,107,.46);background:rgba(5,14,23,.74)}
body.pricing-site .pricing-card{border-radius:4px;border-color:var(--mes-line);background:#06111b;box-shadow:none}.pricing-card:hover{border-color:rgba(143,205,244,.27)}.pricing-recommended{border-top-color:rgba(194,163,107,.56)!important}.pricing-flag{color:#b99d6a}.pricing-card h2{font-family:var(--mes-serif);font-weight:500}.pricing-policy{border-top:1px solid rgba(194,163,107,.16)}

@media(max-width:1050px){.newsroom-hero-grid{grid-template-columns:minmax(0,1.42fr) minmax(250px,.58fr);gap:46px}.editorial-front{grid-template-columns:minmax(0,1.5fr) minmax(280px,.65fr)}.front-lead{padding-right:34px}.footer-grid{gap:32px}}
@media(max-width:900px){.newsroom-hero-grid{grid-template-columns:1fr;align-items:start}.edition-card{max-width:620px}.editorial-front{grid-template-columns:1fr}.front-lead{min-height:330px;padding:30px 0 34px;border-right:0}.front-lead h2{margin-top:48px}.front-rail{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--mes-line)}.front-rail article{padding:20px 22px 20px 0;border-right:1px solid rgba(185,207,222,.08)}.front-rail article:nth-child(even){padding-left:22px;border-right:0}.newsroom-lead-grid{grid-template-columns:1fr;gap:34px}.lead-story{padding-right:0}.sunday-intro{grid-template-columns:1fr;gap:30px}.sunday-principle{padding:24px 0 0;border-left:0;border-top:1px solid rgba(194,163,107,.18)}.footer-grid{grid-template-columns:1.5fr 1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.article-analysis{grid-template-columns:1fr;gap:30px}}
@media(max-width:700px){.newsroom-hero{padding:42px 0 40px}.newsroom-hero h1{font-size:clamp(42px,12vw,58px)}.newsroom-hero .hero-lede{font-size:15px}.editorial-front{margin-top:34px}.front-lead{min-height:0}.front-lead h2{margin-top:34px;font-size:clamp(31px,9vw,43px)}.front-rail{grid-template-columns:1fr}.front-rail article,.front-rail article:nth-child(even){padding:18px 0;border-right:0}.newsroom-section{padding:54px 0}.lead-story::before{margin-bottom:30px}.lead-story h2{font-size:clamp(30px,9vw,40px)}.footer-grid{grid-template-columns:1fr 1fr;gap:34px 24px}.article-main{padding-top:48px;padding-bottom:88px}.market-article h1{margin-top:34px;font-size:clamp(40px,12vw,58px)}.article-summary{margin-top:30px;font-size:19px}.article-source,.article-analysis li,.related-market article{grid-template-columns:1fr}.article-analysis{margin-top:64px;padding-top:22px}.related-market{margin-top:72px}.legal-wrap>a{margin-bottom:54px}.legal-wrap>h1{font-size:clamp(40px,12vw,58px)}.legal-copy{margin-top:38px}.legal-copy section{grid-template-columns:1fr;gap:15px;padding:26px 0 29px}}
@media(max-width:460px){.newsroom-hero h1{font-size:42px}.masthead-proof{display:grid;grid-template-columns:1fr}.front-lead h2{font-size:34px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.nav>a::after{transition:none!important}}
@media(prefers-contrast:more){:root{--mes-line:rgba(220,232,239,.30);--mes-line-blue:rgba(174,218,244,.56)}.newsroom-hero h1,.front-lead h2,.lead-story h2,.market-article h1,.legal-wrap>h1{color:#fff}.front-lead,.lead-story,.article-analysis,.legal-copy section{border-color:rgba(230,238,242,.36)!important}}
