/*
Theme Name: BioSparkHub
Theme URI: https://biosparkhub.com
Author: BioSparkHub
Description: Mobile-first BioSparkHub website with Journal, pricing, founder story and professional profile landing pages.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: biosparkhub
*/
:root{--navy:#10283b;--dark:#0b1c2c;--mint:#c4f2d1;--teal:#187b68;--txt:#172c3b;--muted:#5f7480;--line:#e4ebe9;--bg:#f6f9f8;--white:#fff;--r:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--txt);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.6rem,5vw,5.4rem);line-height:1.07;letter-spacing:-.055em}h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.15;letter-spacing:-.04em}h3{font-size:1.25rem;letter-spacing:-.02em}.container{width:min(1180px,calc(100% - 44px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}body.admin-bar .site-header{top:32px}.header-in{min-height:76px;display:flex;align-items:center;gap:24px}.logo{display:inline-flex;align-items:center;gap:10px;font-size:1.5rem;font-weight:850;letter-spacing:-.06em;color:var(--navy)}.logo-mark{display:grid;place-items:center;width:37px;height:37px;background:var(--navy);color:var(--mint);border-radius:11px;font-size:24px}.desktop-nav{display:flex;align-items:center;gap:25px;margin-left:auto;color:#304c5b;font-size:.94rem;font-weight:600}.desktop-nav a:hover,.footer-links a:hover{color:var(--teal)}.header-actions{display:flex;align-items:center;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;min-height:48px;border-radius:13px;padding:12px 21px;font-weight:750;cursor:pointer;text-align:center;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--mint);color:var(--navy)}.btn-dark{background:var(--navy);color:white}.btn-outline{border:1px solid #c7d3d1;color:var(--navy);background:transparent}.btn-light{border:1px solid #516b75;color:white;background:transparent}.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--teal)}.hero{background:var(--navy);color:white;overflow:hidden}.hero-in{min-height:630px;padding:85px 0;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:70px}.hero .eyebrow{color:var(--mint)}.hero h1{margin:18px 0 23px}.hero h1 span{color:var(--mint)}.hero p{font-size:1.16rem;color:#d2e2e9;max-width:550px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:31px 0 22px}.hero-note{color:#bbced6;font-size:.87rem}.display-card{position:relative;max-width:470px;margin:auto;padding:22px;border-radius:28px;background:linear-gradient(145deg,#27566a,#173b4b);box-shadow:0 32px 70px #07172577;transform:rotate(-4deg)}.display-card:after{content:'';position:absolute;right:-35px;bottom:-35px;width:180px;height:180px;border:1px solid #bdf0d044;border-radius:50%;pointer-events:none}.display-card .card-top{display:flex;justify-content:space-between;align-items:center;color:#c5e9da}.avatar{width:68px;height:68px;border-radius:20px;background:#c4f2d1;color:#10283b;display:grid;place-items:center;font-size:1.45rem;font-weight:850}.display-card h3{font-size:1.75rem;margin:33px 0 2px}.display-card p{font-size:1rem;margin-bottom:32px}.sample-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff40;padding-top:17px;font-size:.88rem;color:#d6e7e5}.qr-art{font-size:50px;line-height:1}.section{padding:85px 0}.section-alt{background:var(--bg)}.section-title{max-width:760px;margin-bottom:34px}.section-title p{color:var(--muted);font-size:1.07rem}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tile,.plan,.post-card,.surface{border:1px solid var(--line);border-radius:22px;background:white;padding:25px}.tile-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e9f7ef;color:var(--teal);font-size:1.6rem;margin-bottom:18px}.tile p,.plan p{color:var(--muted)}.tile a{font-weight:750;color:var(--teal)}.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.plan{display:flex;flex-direction:column;padding:23px}.plan.featured{border:2px solid #2b997c;box-shadow:0 12px 38px #14795c15}.plan .amount{font-size:2.1rem;font-weight:850;letter-spacing:-.055em;margin:5px 0}.plan .amount span{font-size:.8rem;font-weight:500;letter-spacing:0;color:var(--muted)}.plan ul{margin:18px 0 25px;padding-left:19px;font-size:.9rem;flex:1}.plan li{margin:7px 0}.plan .btn{width:100%}.tag{font-size:.77rem;background:#e7f6ec;color:#126b50;padding:5px 10px;border-radius:8px;font-weight:800;display:inline-flex;width:max-content}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.story-block{background:var(--navy);color:white;border-radius:28px;padding:45px;min-height:355px;display:flex;flex-direction:column;justify-content:space-between}.story-block strong{font-size:2.5rem;line-height:1.1;letter-spacing:-.05em}.story-block small{color:#c8d9dd}.story-copy p,.article-body p{color:#546b76}.cta{background:var(--navy);color:white;border-radius:26px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta p{color:#c2d3dc}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{padding:0;overflow:hidden}.post-card .post-content{padding:24px}.post-card h3{margin-bottom:10px}.post-card p{font-size:.91rem;color:var(--muted)}.post-placeholder{height:155px;background:linear-gradient(135deg,#e3f3ec,#b5d7d0);display:grid;place-items:center;font-size:45px;color:#227665}.article-wrap{max-width:820px;margin:auto;padding:75px 0}.article-wrap h1{font-size:clamp(2.2rem,5vw,4rem)}.article-body{font-size:1.09rem;line-height:1.85}.article-body img{border-radius:15px}.article-body a{color:var(--teal);text-decoration:underline}.archive-head{padding:70px 0 28px}.journal-grid{padding-bottom:80px}.site-footer{background:#0b1d2b;color:#e9f3f4;padding:56px 0 90px}.footer-in{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-links{display:flex;flex-direction:column;gap:12px;font-size:.9rem}.footer-in p,.footer-in small{color:#b3c6d0}.mobile-tabs,.mobile-shortcuts{display:none}.menu-toggle{display:none}.mobile-menu{display:none}.empty-state{border:1px dashed #b4c9c2;padding:35px;border-radius:18px;color:var(--muted)}.wp-block-image{margin:25px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:950px){.desktop-nav{gap:14px}.plans{grid-template-columns:repeat(2,1fr)}.hero-in{gap:25px}.footer-in{grid-template-columns:1fr 1fr}.story-grid{gap:25px}}
@media(max-width:700px){body{padding-bottom:68px}body.admin-bar .site-header{top:46px}.container{width:calc(100% - 30px)}.header-in{min-height:61px}.logo{font-size:1.27rem}.logo-mark{width:33px;height:33px;font-size:21px}.desktop-nav,.header-actions .sign-in{display:none}.header-actions{margin-left:auto}.header-actions .btn{min-height:38px;padding:8px 12px;font-size:.84rem}.menu-toggle{display:grid;place-items:center;width:38px;height:38px;background:#eef3f2;border:0;border-radius:11px;color:var(--navy);font-size:22px;cursor:pointer}.mobile-menu.open{display:flex;flex-direction:column;gap:0;background:white;border-top:1px solid var(--line);padding:10px 15px}.mobile-menu a{padding:12px;font-weight:650;border-bottom:1px solid #f1f4f3}.hero-in{display:flex;flex-direction:column;min-height:auto;padding:36px 0 33px;gap:25px}.hero h1{font-size:clamp(2.48rem,10vw,3.4rem);margin:11px 0 13px}.hero p{font-size:.98rem;line-height:1.5}.hero-buttons{display:grid;grid-template-columns:1fr;margin:18px 0 12px;gap:9px}.hero-buttons .btn{min-height:49px}.hero-note{font-size:.75rem}.display-card{width:90%;padding:18px;border-radius:21px;transform:none;box-shadow:0 10px 40px #091c3277}.display-card h3{margin:14px 0 0;font-size:1.3rem}.display-card p{font-size:.84rem;margin-bottom:15px}.display-card .avatar{width:46px;height:46px;border-radius:14px;font-size:1.1rem}.qr-art{font-size:35px}.section{padding:43px 0}.section-title{margin-bottom:20px}.section-title h2{font-size:1.9rem;margin-bottom:8px}.section-title p{font-size:.95rem}.tiles,.plans,.posts,.story-grid{grid-template-columns:1fr}.tile{padding:20px}.tiles .tile:nth-child(n+3){display:none}.mobile-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 0}.mobile-shortcuts a{background:white;border:1px solid var(--line);border-radius:14px;min-height:76px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:14px;font-size:.91rem;font-weight:700}.mobile-shortcuts .symbol{color:#16866e;font-size:22px}.plans{gap:10px}.plan{padding:19px}.plan ul{margin:10px 0 15px}.story-block{min-height:200px;padding:26px}.story-block strong{font-size:2rem}.cta{padding:27px;display:block}.cta .btn{width:100%;margin-top:16px}.post-card{display:grid;grid-template-columns:100px 1fr;min-height:135px}.post-placeholder{height:100%}.post-card .post-content{padding:15px}.post-card h3{font-size:1.07rem}.post-card p{display:none}.footer-in{grid-template-columns:1fr 1fr;gap:20px}.footer-in>div:first-child{grid-column:span 2}.mobile-tabs{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:60;background:#fff;border-top:1px solid #dfebea;padding:8px 6px max(8px,env(safe-area-inset-bottom));box-shadow:0 -8px 24px #11273810}.mobile-tabs a{display:flex;align-items:center;flex-direction:column;gap:2px;font-weight:650;font-size:.68rem;color:#3c5763}.mobile-tabs a span{font-size:20px;color:var(--teal)}.mobile-tabs a[aria-current="page"]{color:#07674d}.article-wrap{padding:38px 0}.article-wrap h1{font-size:2.2rem}.journal-grid{padding-bottom:45px}}
