
:root{
 --fm-navy:#06264d;
 --fm-blue:#0758b7;
 --fm-green:#0b6548;
 --fm-purple:#4e38a9;
 --fm-text:#0c1f36;
 --fm-line:#e7ebf0;
 --fm-footer:#052c53;
 --fm-max:1320px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;color:var(--fm-text);background:#fff}
a{text-decoration:none;color:inherit}
.fm-wrap{width:min(calc(100% - 48px),var(--fm-max));margin:auto}

/* HEADER */
.fm-header{height:86px;background:#fff;border-bottom:1px solid var(--fm-line);display:flex;align-items:center}
.fm-header__row{display:flex;align-items:center;gap:22px}
.fm-logo{flex:0 0 315px}
.fm-logo img{display:block;width:292px;height:auto}
.fm-nav{margin-left:auto;display:flex;align-items:center;gap:27px;font-size:14px;white-space:nowrap}
.fm-tools{display:flex;align-items:center;gap:18px;margin-left:16px}
.fm-tool{width:22px;height:22px;display:grid;place-items:center;font-size:20px;color:#0a2848}
.fm-submit{
 margin-left:7px;
 background:#fff;
 color:var(--fm-blue);
 border:1px solid var(--fm-blue);
 padding:9px 19px;
 border-radius:2px;
 font-size:13px;
 font-weight:700;
 line-height:1;
}

/* HERO: one continuous visual, book/DNA centered-right */
.fm-hero{
 min-height:300px;
 position:relative;
 overflow:hidden;
 background:#eaf3fb;
}
.fm-hero::before{
 content:"";
 position:absolute;
 inset:0;
 background:
   linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 28%,rgba(255,255,255,.94) 39%,rgba(255,255,255,.70) 51%,rgba(255,255,255,.20) 68%,rgba(255,255,255,0) 100%);
 z-index:1;
}
.fm-hero::after{
 content:"";
 position:absolute;
 top:0;
 right:0;
 bottom:0;
 width:69%;
 background-image:url("../img/frontiermind-hero-latest-approved.6f4805773174.png");
 background-repeat:no-repeat;
 background-position:center bottom;
 background-size:cover;
 z-index:0;
}
.fm-hero__inner{min-height:300px;display:flex;align-items:center;position:relative;z-index:2}
.fm-hero__copy{width:48%;padding-left:18px;padding-top:2px}
.fm-hero h1{margin:0 0 16px;font-size:49px;line-height:1.07;letter-spacing:-1.4px;color:#062a54;font-weight:800}
.fm-hero p{max-width:500px;margin:0 0 21px;font-size:15px;line-height:1.45;color:#263446}
.fm-actions{display:flex;gap:17px}
.fm-btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:2px;font-size:13px;font-weight:700}
.fm-btn.primary{background:var(--fm-blue);color:#fff}
.fm-btn.outline{background:#fff;border:1px solid var(--fm-blue);color:var(--fm-blue)}

/* AUDIENCE */
.fm-audience{padding:9px 0 12px}
.fm-audience__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.fm-audience-card{min-height:142px;padding:19px 22px;display:grid;grid-template-columns:75px 1fr;gap:18px;align-items:start;border-radius:3px}
.fm-audience-card.reader{background:linear-gradient(90deg,#edf7ff,#e9f2fb)}
.fm-audience-card.author{background:linear-gradient(90deg,#edf8f2,#e6f2e9)}
.fm-audience-card.editor{background:linear-gradient(90deg,#f0effd,#ebeafd)}
.fm-circle{width:64px;height:64px;border-radius:50%;display:grid;place-items:center}
.reader .fm-circle{background:#0a56b0}
.author .fm-circle{background:#0d624b}
.editor .fm-circle{background:#4f3bab}
.fm-circle svg{width:34px;height:34px;stroke:#fff;fill:none;stroke-width:2}
.fm-audience-card h3{margin:2px 0 8px;font-size:17px;color:#0a315f}
.fm-audience-card p{margin:0 0 7px;font-size:13px;line-height:1.42}
.fm-link{font-size:13px;font-weight:700;color:var(--fm-blue)}

/* LATEST */
.fm-latest{padding:7px 0 0}
.fm-latest__grid{display:grid;grid-template-columns:250px 1fr;gap:36px;align-items:start}
.fm-latest__lead{padding-left:8px}
.fm-latest h2{font-size:21px;margin:17px 0 17px;color:#092c55}
.fm-books{display:grid;grid-template-columns:repeat(5,minmax(132px,160px));gap:24px;align-items:end}
.fm-cover{height:214px;width:100%;object-fit:cover;box-shadow:0 7px 17px rgba(4,33,63,.22);background:#0d3158}

/* FOOTER */
.fm-footer{margin-top:0;background:linear-gradient(90deg,#052b51,#07335f);color:#fff}
.fm-footer__main{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.08fr .92fr 1.12fr;gap:31px;padding:25px 0 20px}
.fm-footer__brand img{width:190px;margin-bottom:14px}
.fm-footer h4{font-size:11px;margin:0 0 10px}
.fm-footer p,.fm-footer a{font-size:11px;line-height:1.53;color:#fff}
.fm-footer p{margin:0}
.fm-footer a{display:block;margin:4px 0}
.fm-social{display:flex;gap:10px;margin-top:17px}
.fm-social span{width:25px;height:25px;border-radius:50%;background:#fff;color:#0a3158;display:grid;place-items:center;font-size:10px;font-weight:700}
.fm-contact{border-left:1px solid rgba(255,255,255,.42);padding-left:20px}
.fm-fmes{display:inline-block!important;border:1px solid rgba(255,255,255,.75);padding:8px 10px;margin-top:13px!important;border-radius:2px;font-weight:700}
.fm-footer__bottom{border-top:1px solid rgba(255,255,255,.18);display:flex;justify-content:space-between;align-items:center;padding:13px 0 15px;font-size:10px}
.fm-footer__links{display:flex;gap:28px}

@media(max-width:1000px){
 .fm-logo{flex-basis:240px}.fm-logo img{width:225px}
 .fm-nav{gap:14px;font-size:12px}
 .fm-hero::after{width:66%;background-position:55% bottom;background-size:cover}
 .fm-books{grid-template-columns:repeat(4,1fr)}
 .fm-footer__main{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 .fm-wrap{width:min(calc(100% - 24px),var(--fm-max))}
 .fm-header{height:auto;padding:11px 0}
 .fm-nav{display:none}
 .fm-logo{flex:0 0 205px}.fm-logo img{width:200px}
 .fm-tools{margin-left:auto}.fm-submit{display:none}
 .fm-hero{min-height:430px}
 .fm-hero::after{width:100%;opacity:.46;background-position:center bottom;background-size:cover}
 .fm-hero::before{background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 50%,rgba(255,255,255,.35) 100%)}
 .fm-hero__inner{min-height:430px;align-items:flex-start}
 .fm-hero__copy{width:100%;padding:34px 0 0}.fm-hero h1{font-size:39px}
 .fm-audience__grid{grid-template-columns:1fr}.fm-audience-card{min-height:auto}
 .fm-latest__grid{grid-template-columns:1fr}.fm-books{grid-template-columns:repeat(2,1fr)}
 .fm-footer__main{grid-template-columns:1fr 1fr}.fm-contact{border-left:0;padding-left:0}
 .fm-footer__bottom{display:block}.fm-footer__links{margin-top:10px;flex-wrap:wrap}
}
