/* sabbirepi.ca shared styles */


:root{
  --ink:#3b2a66;
  --muted:#4a5f5c;
  --ground:#f5f8f7;
  --card:#ffffff;
  --line:#d3e0dd;
  --accent:#7a5cc4;
  --accent-dark:#0b5a54;
  --peach:#fbefd2;
  --mint:#eee7fb;
  --teal:#0b5a54;
  --navy-2:#1d4a46;
  --radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'TeX Gyre Pagella','Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;color:#000;background:var(--ground);line-height:1.55}
img{max-width:100%;display:block}
a{color:#000}
a:hover{color:#000}
h1,h2,h3{font-family:'Lora',Georgia,serif;line-height:1.15;margin:0}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px}
.section{padding:40px 0}
.section-title{font-size:34px;font-weight:700;margin-bottom:6px}
.section-sub{margin:0 0 22px;color:#000;font-size:16px}
.row-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;margin-bottom:20px}
.row-head .section-title{margin:0}

/* nav */
.site-nav{position:sticky;top:0;z-index:20;background:rgba(245,248,247,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-nav ul{list-style:none;margin:0 auto;padding:12px 20px;max-width:1180px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.site-nav a{display:block;padding:9px 16px;border-radius:999px;color:#000;text-decoration:none;font-weight:500;font-size:15px}
.site-nav a:hover{background:#e3eeec;color:#000}
.site-nav a[aria-current="page"]{background:var(--ink);color:#fff}
.site-nav a.cta{border:2px solid var(--accent);color:#000;padding:7px 14px}
.site-nav a.cta:hover{background:var(--accent);color:#fff}

/* buttons, pills */
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark);color:#fff}
.btn-soft{background:#e3eeec;color:#000}
.btn-soft:hover{background:#d3e6e2;color:#000}
.pill{display:inline-block;font-weight:700;font-size:13px;padding:5px 12px;border-radius:999px}
.pill-peach{background:var(--peach);color:#000}
.pill-mint{background:var(--mint);color:#000}
.pill-blue{background:#e3eeec;color:#000}
.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* hero */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:36px;background:var(--card);border-radius:28px;padding:44px 48px;margin-top:28px}
.hero-text{flex:3 1 460px;min-width:0}
.hero h1{font-size:54px;font-weight:800;letter-spacing:-.02em;margin:16px 0 18px}
.hero h1 span{color:#000}
.hero p{margin:0 0 26px;font-size:18px;color:#000;max-width:620px}
.hero-photo{flex:2 1 280px;display:flex;justify-content:center}
.hero-photo img{width:300px;aspect-ratio:1;border-radius:22px;border:2px solid var(--accent);object-fit:cover}

/* cards */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}
.card{background:var(--card);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:#000;display:flex;flex-direction:column}
.card:hover{color:#000;box-shadow:0 6px 22px rgba(16,48,46,.08)}
.post-img{height:150px;display:flex;align-items:center;justify-content:center;font-size:14px}
.card-body{padding:20px 22px 22px}
.card-body h3{font-size:21px;font-weight:700;margin:12px 0 8px}
.card-body p{margin:0;font-size:14px;color:#000}

/* facebook */
.fb-band{background:var(--peach);border-radius:28px;padding:32px;display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.fb-text{flex:1 1 320px;min-width:0}
.fb-text h2{font-size:30px;color:#000;margin-bottom:10px}
.fb-text p{margin:0 0 20px;color:#000;font-size:16px}
.fb-frame{flex:1 1 360px;min-width:0;max-width:500px;background:#fff;border-radius:18px;overflow:hidden}
.fb-frame iframe{display:block;width:100%;height:520px;border:0}

/* contact footer */
.contact{background:var(--ink);color:#eaf2f0;margin:40px auto 28px;max-width:1124px;width:calc(100% - 56px);border-radius:28px}
.contact .wrap{padding-left:40px;padding-right:40px}
@media (max-width:640px){.contact{width:calc(100% - 32px)}.contact .wrap{padding-left:22px;padding-right:22px}}
.contact .wrap{padding-top:40px;padding-bottom:40px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}
.contact h2{font-size:30px;color:#fff;margin-bottom:6px}
.contact p{margin:0;color:#c6dbd8}
.contact-links{display:flex;flex-wrap:wrap;gap:12px}
.contact-links a{display:inline-flex;align-items:center;gap:10px;background:#1d4a46;color:#fff;text-decoration:none;padding:12px 18px;border-radius:999px;font-weight:500}
.contact-links a:hover{background:#245a55;color:#fff}
.contact-links a.icon-only{width:56px;height:56px;padding:0;justify-content:center;border-radius:50%}
.contact-links a.icon-only svg{width:24px;height:24px}
.contact-links a.icon-only .logo{width:30px;height:30px;background:transparent;border-radius:0;overflow:visible}
.contact-links a.icon-only .logo img{background:transparent;padding:0}
.contact-links a.icon-only .logo .fallback{display:none}
.small-print{width:100%;font-size:13px;color:#9fbdb8}
.footnotes{border-top:1px solid #1d4a46;padding-top:16px;display:flex;flex-direction:column;gap:6px}
.footnotes p{margin:0;color:#f2c94c;font-size:13px}
.footnotes a{color:#c6dbd8}

/* logo slot: shows the image if the file exists, otherwise the text badge */
.logo{position:relative;width:64px;height:64px;flex:none;border-radius:14px;background:#eaf2f0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.logo .fallback{font-family:'Lora',Georgia,serif;font-weight:800;font-size:15px;color:#000;text-align:center;line-height:1.05;padding:4px}
.logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:6px}
.logo.sm{width:28px;height:28px;border-radius:7px}
.logo.sm .fallback{font-size:10px}
.logo.sm img{padding:2px}

/* tiles (about page) */
.tile{background:var(--card);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:14px;border:2px solid transparent;text-align:left;font:inherit;color:#000}
.tile h3{font-size:19px;font-weight:700}
.tile .meta{margin:0;color:#000;font-size:15px}
.tile .year{font-family:'Lora',Georgia,serif;font-weight:800;font-size:22px;color:#000}
button.tile{cursor:pointer;width:100%}
button.tile:hover{border-color:var(--accent)}
.tile .hint{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:#000}

.summary{background:var(--card);border-radius:28px;padding:36px 40px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;margin-top:28px}
.summary img{width:150px;aspect-ratio:1;border-radius:50%;object-fit:cover;border:2px solid var(--accent)}
.summary-text{flex:1 1 480px;min-width:0}
.summary h1{font-size:42px;font-weight:800;margin-bottom:12px}
.summary p{margin:0 0 10px;font-size:17px;color:#000}

/* awards */
.awards{list-style:none;margin:0;padding:0;background:var(--card);border-radius:var(--radius);overflow:hidden}
.awards li{display:flex;align-items:center;gap:16px;padding:16px 22px;border-bottom:1px solid #e1ebe9}
.awards li:last-child{border-bottom:0}
.award-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.award-ico .icon{width:22px;height:22px}
.awards .what{flex:1 1 auto;min-width:0}
.awards .what strong{display:block;font-size:16px}
.awards .what span{font-size:14px;color:#000}
.awards .amt{font-family:'Lora',Georgia,serif;font-weight:700;font-size:18px;white-space:nowrap}
.total{display:inline-flex;align-items:baseline;gap:10px;background:var(--ink);color:#fff;border-radius:999px;padding:10px 20px}
.total b{font-family:'Lora',Georgia,serif;font-size:24px}

/* software */
.skills{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr))}
.skill{background:var(--card);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;font-weight:700}
.skill .logo{width:44px;height:44px;border-radius:10px}
.skill .logo .fallback{font-size:12px}

/* dialog */
dialog{border:0;border-radius:24px;padding:0;max-width:620px;width:calc(100% - 32px);color:#000}
dialog::backdrop{background:rgba(16,48,46,.55)}
.dlg-head{display:flex;gap:16px;align-items:center;padding:24px 26px 16px;border-bottom:1px solid #e1ebe9}
.dlg-head h3{font-size:22px}
.dlg-head p{margin:2px 0 0;color:#000;font-size:14px}
.dlg-close{margin-left:auto;align-self:flex-start;width:44px;height:44px;border-radius:50%;border:0;background:#eaf2f0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000}
.dlg-body{padding:18px 26px 26px}
.dlg-body h4{margin:6px 0 10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#000}
.duties{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:12px}
.duties li{display:flex;gap:12px;align-items:flex-start;font-size:15px}
.duties .ico{width:36px;height:36px;border-radius:10px;background:var(--mint);color:#000;display:flex;align-items:center;justify-content:center;flex:none}

/* research */
.stats{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 22px}
.stat{flex:1 1 140px;background:var(--ink);color:#fff;border-radius:18px;padding:16px 20px}
.stat b{display:block;font-family:'Lora',Georgia,serif;font-size:36px;line-height:1.1}
.stat span{font-size:14px;color:#c6dbd8}
.papers{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}
.paper{background:#fff;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:#000;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(16,48,46,.06);transition:transform .15s, box-shadow .15s;}
.paper:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(16,48,46,.12);color:#000}
.paper-thumb{height:160px;overflow:hidden;background:#fff;border-bottom:1px solid var(--line);border-radius:6px 6px 0 0}
.paper-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}
.paper-top{background:var(--ink);color:#fff;padding:9px 14px;display:flex;justify-content:space-between;gap:10px;font-size:12px}
.paper-top .j{font-weight:700;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.paper-body{padding:16px 16px 12px;flex:1;display:flex;flex-direction:column;gap:10px}
.paper-body .kind{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#000}
.paper-body h3{font-family:'TeX Gyre Pagella','Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;font-weight:700;font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.paper-body .auth{font-size:12.5px;color:#000;margin:0}
.paper-body .auth b{color:#000}
.faux{display:flex;flex-direction:column;gap:5px;margin-top:auto;padding-top:8px}
.faux i{display:block;height:5px;border-radius:3px;background:#e6efed}
.faux i:nth-child(2){width:92%}.faux i:nth-child(3){width:96%}.faux i:nth-child(4){width:70%}
.paper-foot{border-top:1px solid #e1ebe9;padding:10px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}
.paper-foot .read{font-weight:700;color:#000;display:inline-flex;align-items:center;gap:4px}
.lead{background:var(--peach);color:#000;font-weight:700;font-size:11px;padding:3px 9px;border-radius:999px}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.filters button{font:inherit;font-size:14px;font-weight:700;border:2px solid var(--line);background:#fff;color:#000;padding:8px 16px;border-radius:999px;cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}

@media (max-width:640px){
  .hero{padding:28px 22px}
  .hero h1{font-size:38px}
  .summary{padding:26px 22px}
  .summary h1{font-size:32px}
  .section-title{font-size:28px}
  .fb-band{padding:22px}
}

/* slim facebook strip (soft teal) */
.fb-strip{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;background:#eee7fb;border-radius:20px;padding:18px 24px;text-decoration:none;color:#000}
.fb-strip:hover{color:#000;background:#d3ebe7}
.fb-logo{width:48px;height:48px;border-radius:12px;background:#fff}
.fb-logo .fallback{color:#000;display:flex}
.fb-logo img{padding:0;background:transparent}
.fb-strip-text{flex:1 1 300px;display:flex;flex-direction:column;gap:2px}
.fb-strip-text strong{font-size:18px}
.fb-strip-text span{font-size:15px;color:#000}
.fb-strip-cta{display:inline-flex;align-items:center;gap:8px;background:#7a5cc4;color:#fff;padding:11px 20px;border-radius:999px;font-weight:700;font-size:15px}
.papers.three{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}

/* education logos: wider slot so wordmarks fit */
.edu-logo{width:100%;max-width:240px;height:76px;border-radius:10px;justify-content:flex-start;background:#fff}
.edu-logo img{padding:0;object-position:left center;background:#fff}
.dlg-logo{width:150px;max-width:150px;height:62px;flex:none}
.tile-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.status{flex:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:999px}
.status.now{background:var(--mint);color:#000}
.status.past{background:#eceeed;color:#000}
.edu-logo img[src*="spheru"]{width:76%;right:auto}
.awards .what .proj{display:block;margin-top:6px;font-size:14px;color:#000;font-style:italic}
.awards .what .report{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:14px;font-weight:700}
.awards .what .report .icon{width:16px;height:16px}
.awards li.feature{background:var(--peach);padding:22px}
.awards li.feature .what strong{font-size:20px;font-family:'Lora',Georgia,serif}
.awards li.feature .amt{font-size:24px;color:#000}
.feat-ico{width:56px;height:56px;border-radius:14px;background:#3b2a66;color:#f2c94c}
.feat-ico .icon{width:28px;height:28px}
.badge-top{display:inline-block;width:max-content;margin-bottom:6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:#3b2a66;color:#f2c94c;padding:4px 10px;border-radius:999px}
.awards .what .badge-top{color:#f2c94c;font-size:11px}
.skills{grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr))}
.skill{flex-direction:column;align-items:stretch;gap:12px;text-align:center;font-size:15px}
.skill .skill-logo{width:100%;height:64px;border-radius:10px;background:#fff}
.skill .skill-logo img{padding:4px;object-position:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skill{padding:14px}
.skills{grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr))}
.skill .skill-logo{height:46px}.skill .skill-logo img{padding:6px 10px}
.sk-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(420px,100%),1fr))}
@media (max-width:640px){.sk-grid{grid-template-columns:1fr}}
.sk-group{background:#fff;border-radius:var(--radius);padding:20px 22px}
.sk-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sk-head .ico{width:40px;height:40px;border-radius:11px;background:var(--mint);color:#000;display:flex;align-items:center;justify-content:center;flex:none}
.sk-head h3{font-size:18px}
.sk-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sk-tags li{background:#f2f6f5;border:1px solid var(--line);border-radius:999px;padding:6px 13px;font-size:14px;font-weight:500}
.scholar-btn{display:inline-flex;align-items:center;gap:14px;background:#fff;border:2px solid var(--line);border-radius:999px;padding:10px 22px 10px 18px;text-decoration:none;color:#000;font-weight:700;font-size:15px}
.scholar-btn:hover{border-color:var(--accent);color:#000}
.scholar-btn img{height:26px;width:auto}
.scholar-btn span{display:inline-flex;align-items:center;gap:6px;border-left:1px solid var(--line);padding-left:14px}
.scholar-btn .icon{width:16px;height:16px}
.summary .scholar-btn img{width:auto;height:26px;aspect-ratio:auto;border:0;border-radius:0;object-fit:contain}
.lead-toggle{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:500;cursor:pointer;margin:2px 0 6px}
.lead-toggle input{width:20px;height:20px;accent-color:var(--accent)}
.filter-count{margin:4px 0 18px;color:#000;font-size:14px}
.role-lead{background:var(--peach);color:#000}
.role-senior{background:var(--mint);color:#000}
.role-co{background:#eceeed;color:#000}
/* blog */
.feature-post{display:flex;flex-wrap:wrap;background:#fff;border-radius:28px;overflow:hidden;text-decoration:none;color:#000}
.feature-post:hover{color:#000;box-shadow:0 8px 26px rgba(16,48,46,.1)}
.feature-img{flex:1 1 420px;min-height:300px;display:flex;align-items:center;justify-content:center;font-size:15px}
.feature-body{flex:1 1 380px;padding:36px 40px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.feature-body h2{font-size:34px;font-weight:800}
.excerpt{margin:0;color:#000;font-size:16px}
.card-body .excerpt{font-size:15px;margin:0 0 10px}
.meta-line{margin:0;color:#000;font-size:14px}
.blog-filters{margin-bottom:22px}
/* work with me */
.svc-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}
.svc{background:#fff;border-radius:var(--radius);padding:24px}
.svc .ico{width:44px;height:44px;border-radius:12px;background:var(--mint);color:#000;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.svc h3{font-size:19px;margin-bottom:8px}
.svc p{margin:0;color:#000;font-size:15px}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr))}
.steps li{background:#fff;border-radius:var(--radius);padding:22px;display:flex;gap:14px;align-items:flex-start}
.steps .num{flex:none;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#f2c94c;font-family:'Lora',Georgia,serif;font-weight:800;display:flex;align-items:center;justify-content:center}
.steps h3{font-size:17px;margin-bottom:4px}
.steps p{margin:0;color:#000;font-size:14px}
.indep{margin:8px 0 0;padding:16px 20px;background:var(--peach);border-radius:16px;color:#000;font-size:14px}
.site-nav a.cta[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
.offer-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(380px,100%),1fr))}
@media (max-width:640px){.offer-grid{grid-template-columns:1fr}}
.offer{background:#fff;border-radius:24px;padding:30px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.offer .ico{width:52px;height:52px;border-radius:14px;background:var(--mint);color:#000;display:flex;align-items:center;justify-content:center}
.offer .ico .icon{width:26px;height:26px}
.offer h2{font-size:26px}
.offer p{margin:0;color:#000;font-size:16px}
.mini-steps{margin:0;padding-left:20px;color:#000;font-size:15px;display:flex;flex-direction:column;gap:4px}
.offer .btn{margin-top:auto}
.indep{text-align:center}
.indep{display:flex;align-items:center;justify-content:center;gap:8px}
.indep .icon{width:18px;height:18px;color:#000;flex:none}
.soon{background:#fff;border-radius:28px;padding:60px 32px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.soon-ico{width:72px;height:72px;border-radius:20px;background:var(--mint);color:#000;display:flex;align-items:center;justify-content:center}
.soon-ico .icon{width:36px;height:36px}
.soon h2{font-size:32px}
.soon p{margin:0;color:#000;font-size:17px}
/* blog images + post pages */
.post-img,.feature-img,.post-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.post-img .icon,.feature-img .icon,.post-hero .icon{width:40px;height:40px;opacity:.55}
.post-img img,.feature-img img,.post-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post{background:#fff;border-radius:28px;padding:36px 48px 44px;margin-top:28px;max-width:860px;margin-left:auto;margin-right:auto}
.post h1{font-size:40px;font-weight:800;margin:14px 0 8px;line-height:1.15}
.post .back{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:15px;text-decoration:none;margin-bottom:18px}
.post .back .icon{transform:rotate(180deg)}
.post-hero{aspect-ratio:16/9;border-radius:20px;margin:22px 0 8px}
.post-body{font-size:18px;line-height:1.7}
.post-body h2{font-size:24px;margin:28px 0 8px}
.post-body p{margin:0 0 14px}
.post-body ul{margin:0 0 14px;padding-left:24px}
.post-body li{margin-bottom:6px}
.post-body .sources{font-size:15px;line-height:1.55;color:#000}
.empty-note{background:#fff;border-radius:16px;padding:18px 22px;color:#000;margin:0 0 18px}
@media (max-width:640px){.post{padding:24px 20px 30px}.post h1{font-size:30px}}
.post .back{display:flex;width:max-content}

/* ---------- mobile ---------- */
.nav-bar{display:none}
.menu-toggle{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:700;font-size:15px;background:var(--ink);color:#fff;border:0;border-radius:999px;padding:10px 18px;min-height:44px;cursor:pointer}
@media (max-width:760px){
  .nav-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px}
  .nav-here{font-family:'Lora',Georgia,serif;font-weight:700;font-size:18px}
  .site-nav ul{display:none;flex-direction:column;align-items:stretch;padding:4px 16px 14px;gap:4px}
  .site-nav.open ul{display:flex}
  .site-nav a{padding:12px 16px;font-size:16px}
  .site-nav a.cta{text-align:center}
  .wrap{padding:0 16px}
  .section{padding:28px 0}
  .hero{flex-direction:column-reverse;gap:20px;margin-top:16px;border-radius:22px}
  .hero-photo img{width:170px;border-width:2px}
  .hero h1{font-size:34px;margin:12px 0 14px}
  .hero p{font-size:16px;margin-bottom:20px}
  .summary{margin-top:16px;border-radius:22px;gap:18px}
  .summary img{width:110px}
  .row-head{flex-direction:column;align-items:flex-start}
  .stat b{font-size:28px}
  .feature-img{min-height:200px}
  .feature-body{padding:24px 22px}
  .feature-body h2{font-size:26px}
  .fb-strip{padding:18px}
  .fb-strip-cta{width:100%;justify-content:center}
  .contact{margin:28px auto 16px;border-radius:22px}
  .contact h2{font-size:26px}
  .contact-links{width:100%}
  .contact-links a:not(.icon-only){width:100%}
  .contact-links a{justify-content:center;word-break:break-all}
  .offer{padding:22px}
  .offer h2{font-size:22px}
  .awards li{flex-wrap:wrap;padding:14px 16px}
  .awards .amt{width:100%;padding-left:60px}
  .awards li.feature .amt{padding-left:72px}
  .post{padding:22px 18px 28px;margin-top:16px;border-radius:22px}
  .post-body{font-size:17px}
  .scholar-btn{flex-wrap:wrap;justify-content:center;width:100%}
  .filters button{font-size:13px;padding:8px 12px}
  dialog{width:calc(100% - 20px);max-height:88vh;overflow:auto}
  .soon{padding:40px 20px}
}
@media (max-width:760px){
  .hero-photo{flex:none;align-items:center}
  .hero-text{flex:none}
  .hero-photo img{height:170px;align-self:center}
  .scholar-btn{flex-wrap:nowrap;gap:10px;padding:10px 16px}
  .summary .scholar-btn img{height:20px}
  .scholar-btn span{padding-left:10px;font-size:14px}
}

/* all text black */
body a:not(.btn):not(.card):not(.paper):not(.feature-post):not(.fb-strip):not(.scholar-btn){text-decoration-thickness:1px}

.brand-kicker{display:block;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#000;margin-bottom:6px}
.brand-tag{font-size:19px;font-weight:600;margin:4px 0 10px}
.post .brand-kicker{margin:14px 0 8px}
.brand-title{display:flex;align-items:center;gap:.3em}
.brand-title .icon{width:1em;height:1em;flex:none;stroke:#7a5cc4;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.brand-kicker.brand-title .icon{width:1.3em;height:1.3em}

.post-subtitle{font-size:20px;font-weight:600;color:#000;margin:-4px 0 10px}
.fit-contain img{object-fit:contain !important}
.fit-contain svg{display:none}
.latest-dot{display:inline-flex;align-items:center;gap:7px;font-weight:700;color:#7a5cc4;margin-right:8px;white-space:nowrap}
.latest-dot i{width:9px;height:9px;border-radius:50%;background:#14b8a6;display:inline-block;animation:latestpulse 1.8s ease-out infinite}
@keyframes latestpulse{0%{box-shadow:0 0 0 0 rgba(20,184,166,.7)}70%{box-shadow:0 0 0 9px rgba(20,184,166,0)}100%{box-shadow:0 0 0 0 rgba(20,184,166,0)}}
@media (prefers-reduced-motion:reduce){.latest-dot i{animation:none}}

/* clean footer (Nov 15): no solid block, thin line, black text */
.contact{background:transparent;color:#000;border-radius:0;border-top:1px solid #000;margin:48px auto 20px}
.contact .wrap{padding-left:0;padding-right:0}
.contact h2,.contact p{color:#000}
.contact-links a{background:transparent;color:#000;border:1px solid var(--line)}
.contact-links a:hover{background:#e3eeec;color:#000;border-color:var(--accent)}
.footnotes{border-top:1px solid var(--line)}
.footnotes p,.footnotes a{color:#000}
@media (max-width:760px){.contact .wrap{padding-left:0;padding-right:0}}

/* less space before the footer (Nov 15) */
.contact{margin:28px auto 16px}
.contact .wrap{padding-top:26px;padding-bottom:22px}
main .section:last-child{padding-bottom:12px}
@media (max-width:760px){.contact{margin:12px auto 12px}}
/* photo borders black (Nov 15) */
.hero-photo img,.summary img{border-color:#000}
/* neutral soft-white background, Option 1 (Nov 15) */
:root{--ground:#ffffff}
body{background:#ffffff}
.site-nav{background:rgba(250,250,250,.94)}
.site-nav a:hover{background:#efefef}
.hero,.card,.summary,.tile,.sk-group,.skill,.awards,.offer,.svc,.steps li,.feature-post,.post,.paper{border:1px solid #e4e4e4}
.pill-mint,.status.now,.role-senior,.sk-head .ico,.duties .ico,.svc .ico,.offer .ico,.soon-ico{background:#efefef}
.fb-strip{background:#fff;border:1px solid #e4e4e4}
.fb-strip:hover{background:#fff;border-color:#7a5cc4}
/* research summary boxes: light grey with teal left edge (Nov 15) */
.stat{background:#f3f3f3;color:#000;border-radius:10px;border-left:5px solid #7a5cc4;padding:16px 20px}
.stat b{color:#000}
.stat span{color:#000;font-size:15px}
/* current job tag in teal (Nov 15) */
.status.now{background:#7a5cc4;color:#fff}
/* home photo: no border, soft grey shadow (Nov 16) */
.hero-photo img{border:0;box-shadow:0 6px 18px rgba(0,0,0,.12)}

/* ===== a bit smaller, narrower (preview) ===== */
body{font-size:15.5px}
.wrap{max-width:1040px}
.site-nav ul{max-width:1040px}
.site-nav a{font-size:14px;padding:8px 14px}
.contact{max-width:984px}
.section-title{font-size:28px}
.section-sub{font-size:15px}
.btn{font-size:14px;padding:11px 20px}
.hero{padding:38px 42px;gap:32px}
.hero h1{font-size:44px}
.hero p{font-size:16.5px}
.hero-photo img{width:250px}
.summary h1{font-size:36px}
.summary img{width:130px}
.card-body{padding:18px 20px 20px}
.card-body h3{font-size:18.5px}
.post-img{height:130px}
.paper-thumb{height:140px}
.paper-body h3{font-size:14.5px}
.tile h3{font-size:17px}
.tile .year{font-size:20px}
.stat b{font-size:30px}
.feature-img{min-height:260px}
.feature-body h2{font-size:28px}
.post h1{font-size:34px}
.post-body{font-size:17px}
@media (max-width:760px){.hero h1{font-size:32px}.section-title{font-size:24px}.hero-photo img{width:160px}}
/* first section on each page: no card (preview) */
.hero,.summary{background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;padding-left:0 !important;padding-right:0 !important;margin-top:8px !important;border-bottom:1px solid #e4e4e4 !important}
/* ===== Nov 16 tweaks (preview) ===== */
/* Home photo a little smaller */
.hero-photo img{width:215px}
/* paper boxes rounded like blog cards */
.paper{border-radius:var(--radius) !important;overflow:hidden}
.paper-thumb{border-radius:0 !important}
/* Education: small logo left, year top-right, less empty space */
section[aria-labelledby="edu-title"] .tile{display:grid;grid-template-columns:1fr auto;grid-template-areas:"logo year" "title title" "meta meta";column-gap:12px;row-gap:8px;align-items:start;padding:18px 20px}
section[aria-labelledby="edu-title"] .tile>div{display:contents}
section[aria-labelledby="edu-title"] .edu-logo{grid-area:logo;width:150px;max-width:150px;height:48px}
section[aria-labelledby="edu-title"] .tile .year{grid-area:year;justify-self:end;font-size:18px;line-height:1;padding-top:4px}
section[aria-labelledby="edu-title"] .tile h3{grid-area:title;margin:6px 0 0}
section[aria-labelledby="edu-title"] .tile .meta{grid-area:meta;margin:0}
/* Software: all logos on one line */
@media (min-width:761px){
  .skills{grid-template-columns:repeat(7,1fr) !important;gap:10px}
  .skill{padding:10px !important}
  .skill .skill-logo{height:36px !important}
  .skill .skill-logo img{padding:4px 6px !important}
}
/* Google Scholar logo smaller */
.summary .scholar-btn img,.scholar-btn img{height:18px !important}
.scholar-btn{padding:8px 16px 8px 14px;font-size:14px;gap:10px}
.scholar-btn span{padding-left:10px}
/* About photo: no border (Nov 16) */
.summary img{border:0 !important}
.summary img{width:160px}
@media (max-width:760px){.summary img{width:130px}}
/* funder logos in the right corner of Research grants (Nov 16) */
.amt-col{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.grant-logo{height:30px;width:auto;max-width:110px;object-fit:contain;mix-blend-mode:multiply}
@media (max-width:760px){.amt-col{flex-direction:row;align-items:center;gap:12px}}
/* MSc thesis card on My Research + link on About (Nov 16) */
.thesis-card{display:flex;gap:20px;align-items:center;background:var(--card);border:1px solid #e4e4e4;border-radius:var(--radius);padding:16px;margin:26px 0 0}
.thesis-thumb{flex:none;width:180px;border-radius:12px;overflow:hidden;display:block;border:1px solid #eee}
.thesis-thumb img{width:100%;height:auto;display:block}
.thesis-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.thesis-kicker{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;letter-spacing:.03em}
.thesis-kicker .icon{width:16px;height:16px;stroke:var(--accent)}
.thesis-body h3{font-size:17px;line-height:1.35;margin:0}
.thesis-body h3 a{color:#000;text-decoration:none}
.thesis-body h3 a:hover{text-decoration:underline}
.thesis-body .meta{font-size:14px;margin:0}
.thesis-read{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:#000}
.thesis-read .icon{width:15px;height:15px}
.edu-thesis{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:#000;margin-top:2px}
.edu-thesis .icon{width:15px;height:15px}
section[aria-labelledby="edu-title"] .tile .edu-thesis{grid-column:1 / -1}
@media (max-width:760px){.thesis-card{flex-direction:column;align-items:stretch}.thesis-thumb{width:100%}}
.thesis-card{flex-direction:row-reverse}
@media (max-width:760px){.thesis-card{flex-direction:column}}
.thesis-thumb{border:0;background:#fff;border-radius:0}
/* four blog theme colours (Nov 16) */
.pill-t1{background:#fbefd2;color:#000}
.pill-t2{background:#e1ecf7;color:#000}
.pill-t3{background:#eee7fb;color:#000}
.pill-t4{background:#ece6f6;color:#000}
/* footer icons: no circles, all the same size as the email icon (Nov 16) */
.contact-links{gap:22px;align-items:center}
.contact-links a.icon-only{width:auto;height:auto;padding:4px;border:0 !important;border-radius:0;background:transparent !important}
.contact-links a.icon-only svg{width:26px;height:26px}
.contact-links a.icon-only .logo{width:26px;height:26px}
.contact-links a.icon-only:hover{opacity:.7}
/* phone: keep home photo square so it isn't cut (Nov 16) */
@media (max-width:760px){.hero-photo img{width:190px;height:190px;aspect-ratio:1;object-fit:cover;object-position:center top}}
/* footer: Material Design (email, LinkedIn) + Simple Icons (ORCID), black (Nov 20) */
.contact-links a.icon-only .brand-ic{width:26px;height:26px;color:#000;display:block}
/* About: "My research" button beside CV (Nov 20) */
.about-btns{display:flex;flex-wrap:wrap;gap:12px}
.btn-outline{background:transparent;color:#000;border:1.5px solid var(--accent)}
.btn-outline:hover{background:#e3eeec;color:#000}

/* 2026-11-22: Home sketch portrait, full image, blends into background, rounded bottom corners */
.hero-photo img{width:255px;aspect-ratio:auto !important;height:auto !important;object-fit:contain !important;box-shadow:none !important;border:0 !important;border-radius:0 0 16px 16px !important}
@media (max-width:760px){.hero-photo img{width:220px !important;height:auto !important;aspect-ratio:auto !important}}

/* post tables */
.post-table-wrap{overflow-x:auto;margin:14px 0 6px;-webkit-overflow-scrolling:touch}
.post-table{border-collapse:collapse;width:100%;min-width:640px;font-size:15px}
.post-table th,.post-table td{border:1px solid #dcdcdc;padding:9px 10px;text-align:left;vertical-align:top;color:#000}
.post-table thead th{background:#f6f2fd;font-weight:600}
.post-table tbody th{font-weight:600;background:#ffffff}
.post-table td:nth-last-child(-n+2){font-weight:600}
.post-note{font-size:15px;background:#f3f3f3;border-left:4px solid #7a5cc4;padding:10px 14px;border-radius:6px}

/* 2026-11-23: text font = Palatino-style (TeX Gyre Pagella, self-hosted, GUST Font License) everywhere; headings stay Lora */
@font-face{font-family:'TeX Gyre Pagella';src:url(fonts/2823722b53.woff) format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'TeX Gyre Pagella';src:url(fonts/f83500cab3.woff) format('woff');font-weight:500 900;font-style:normal;font-display:swap}
@font-face{font-family:'TeX Gyre Pagella';src:url(fonts/dc687e8c07.woff) format('woff');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'TeX Gyre Pagella';src:url(fonts/4a4f5c29c1.woff) format('woff');font-weight:500 900;font-style:italic;font-display:swap}
body{font-size:16.5px}
button,input,select,textarea{font-family:inherit}

/* 2026-11-23: Latest badge dot is red (text stays teal) */
.latest-dot i{background:#e02424;animation-name:latestred}
@keyframes latestred{0%{box-shadow:0 0 0 0 rgba(224,36,36,.7)}70%{box-shadow:0 0 0 9px rgba(224,36,36,0)}100%{box-shadow:0 0 0 0 rgba(224,36,36,0)}}
@media (prefers-reduced-motion:reduce){.latest-dot i{animation:none}}

/* 2026-11-24: About me skill tags in regular weight */
.sk-tags li{font-weight:400}


.stage{position:relative;height:360px;margin:6px 0 4px}
.stage:not(.ready) .slide{transition:none!important}.slide{position:absolute;left:50%;top:50%;width:250px;background:#fff;border:1px solid #e4e4e4;border-radius:16px;overflow:hidden;transform:translate(-50%,-50%);transition:transform .8s cubic-bezier(.3,.7,.2,1),opacity .8s,box-shadow .8s,filter .8s;cursor:pointer}
.slide .pic{aspect-ratio:4/3;overflow:hidden;background:#f6f3fc}.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slide .txt{padding:12px 16px 14px;border-top:4px solid #7a5cc4}.slide h3{font-size:16.5px;margin:0;line-height:1.25}.slide .txt p{margin:5px 0 0;font-size:14.5px;line-height:1.45;transition:opacity .6s}
.slide[data-pos="0"]{box-shadow:0 16px 34px rgba(0,0,0,.14);cursor:default}.slide:not([data-pos="0"]) .txt p{opacity:0}
.cctrl{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.carrow,.cpause{width:42px;height:42px;border-radius:50%;border:1.5px solid #000;background:#fff;color:#000;font-size:18px;cursor:pointer;display:grid;place-items:center;padding:0}
.cpause{width:auto;padding:0 14px;border-radius:999px;font-size:14.5px;font-family:inherit}
.cdots{display:flex;gap:7px}.cdot{width:10px;height:10px;border-radius:999px;border:0;background:#cfd6d4;cursor:pointer;padding:0;transition:width .4s,background .4s}.cdot[aria-current=true]{width:26px!important;background:#7a5cc4!important}
.carrow:focus-visible,.cpause:focus-visible,.cdot:focus-visible,.slide:focus-visible{outline:3px solid #f2b705;outline-offset:3px}
@media(max-width:700px){.stage{height:330px}.slide{width:min(70vw,250px)}}
@media(prefers-reduced-motion:reduce){.slide{transition:none}}


.op-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.op{background:#fff;border:1px solid #e4e4e4;border-left:5px solid #7a5cc4;border-radius:14px;padding:16px 20px}
.op h3{font-size:18px;margin:8px 0 4px;line-height:1.3}.op p{margin:0;font-size:15px}
.op-tag{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;background:#f3effc;border-radius:999px;padding:3px 11px}
.op-tag i{width:8px;height:8px;border-radius:50%;background:#7a5cc4;animation:opp 1.8s ease-out infinite}
@keyframes opp{0%{box-shadow:0 0 0 0 rgba(122,92,196,.6)}70%{box-shadow:0 0 0 7px rgba(122,92,196,0)}100%{box-shadow:0 0 0 0 rgba(122,92,196,0)}}
.soon{display:flex;gap:14px;align-items:center;background:#f3f3f3;border-radius:14px;padding:16px 20px;border:1px dashed #c9c9c9}
.soon-ic{width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:20px;color:#7a5cc4;flex:none}
.soon b{font-size:17px}.soon p{margin:2px 0 0;font-size:15px}
@media(max-width:700px){.op-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.op-tag i{animation:none}}

footer.contact .wrap{justify-content:flex-start}
main{padding-bottom:40px}

.dz{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dz-c{background:#fff;border:1px solid #e4e4e4;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.dz-l{background:#fff;height:86px;display:grid;place-items:center;padding:12px;border-bottom:1px solid #eee}
.dz-l img{max-width:100%;max-height:52px;width:auto;height:auto;object-fit:contain}
.dz-l:not(.dark) img{mix-blend-mode:multiply}.dz-l.dark{background:#2c2f4e}
.dz-txt{font:700 15px/1.25 Lora,Georgia,serif;text-align:center;color:#7a5cc4;background:#f6f2fd}
.dz-c p{margin:0;padding:10px 12px 12px;font-size:14px;line-height:1.4}
@media(max-width:900px){.dz{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dz{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dz-full{height:100%!important;min-height:86px;border-bottom:0!important}
.pp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pp-c{background:#fff;border:1px solid #e4e4e4;border-radius:16px;padding:20px 14px;text-align:center}
.pp-c b{display:block;font:700 16.5px/1.3 Lora,Georgia,serif;margin-top:2px}
.pp-r{display:block;font-size:15px;margin-top:4px}.pp-p{display:block;font-size:14px;margin-top:2px;color:#333}
@media(max-width:800px){.pp{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ga-hero h1{font-size:clamp(28px,4vw,38px);line-height:1.15;max-width:820px;text-wrap:balance}

.pp-c{font:inherit;color:#000;cursor:pointer;transition:transform .25s,box-shadow .25s,border-color .25s}
.pp-c:hover,.pp-c:focus-visible{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08);border-color:#7a5cc4}
.pp-c:focus-visible{outline:3px solid #f2b705;outline-offset:2px}
.pp-more{display:inline-block;margin-top:10px;font-size:13.5px;font-weight:700;color:#7a5cc4;border-bottom:1.5px solid #7a5cc4}
#pdlg{border:0;border-radius:20px;padding:28px;max-width:520px;width:calc(100% - 32px);box-shadow:0 24px 60px rgba(0,0,0,.25);color:#000}
#pdlg::backdrop{background:rgba(16,48,46,.55);backdrop-filter:blur(2px)}
#pdlg[open]{animation:pdin .3s cubic-bezier(.2,.7,.2,1)}@keyframes pdin{from{opacity:0;transform:translateY(16px) scale(.97)}}
.pd-x{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:1px solid #ddd;background:#fff;font-size:24px;line-height:1;cursor:pointer}
.pd-top{display:flex;gap:16px;align-items:center}.pd-av{width:72px!important;height:72px!important;margin:0!important;flex:none}
#pd-n{margin:0;font-size:22px}.pd-r{font-size:16px;margin-top:2px}.pd-p{font-size:14.5px;color:#333}
.pd-lead{display:inline-block;margin-top:14px;background:#7a5cc4;color:#fff;border-radius:999px;padding:3px 12px;font-size:13px}
.pd-bio{margin:14px 0 12px;line-height:1.6}#pdlg h4{margin:0 0 8px;font-size:15px}
.pd-int{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:6px}.pd-int li{background:#f3effc;border-radius:999px;padding:4px 12px;font-size:14px}
.pd-links{display:flex;flex-wrap:wrap;gap:8px}.pd-links a{border:1.5px solid #7a5cc4;border-radius:999px;padding:6px 14px;color:#000;text-decoration:none;font-size:14.5px}
.pd-links a:hover{background:#7a5cc4;color:#fff}
.pd-sample{margin:14px 0 0;font-size:13.5px;background:#fff6d6;border-radius:8px;padding:6px 10px}
@media(prefers-reduced-motion:reduce){#pdlg[open]{animation:none}.pp-c{transition:none}}

.ga-av{overflow:hidden}.av-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
body,main,.site-nav,header{background:#fff!important}
.soon{background:#f8f5fe!important;border-color:#dcd1f4!important}
.pd-lead[hidden],#pd-bey[hidden],.pd-sample[hidden]{display:none!important}#pdlg{max-height:calc(100vh - 40px);overflow:auto}
#pd-bey h4{margin-top:4px}
#pd-intw[hidden]{display:none!important}
.pp-more{color:#000!important;border-bottom-color:#000!important}
#pd-intw{margin-bottom:16px}.pd-int{margin:0!important}.pd-links{margin-top:4px;clear:both}
.ga-kick{display:inline-block;background:#eee7fb;color:#3b2a66;border-radius:999px;padding:5px 14px;letter-spacing:.06em}
.gbar{border-bottom:1px solid #ece6f7;background:#fff}.gbar-in{max-width:1040px;margin:0 auto;padding:14px max(4vw,16px);display:flex;align-items:center;gap:12px}.gbar-mark{width:36px;height:36px;border-radius:10px;background:#7a5cc4;color:#fff;display:grid;place-items:center;font:700 14px Lora,Georgia,serif;letter-spacing:.04em}.gbar-name{font:700 16px/1.25 Lora,Georgia,serif}

.gp-demo{background:#fff6d6;border:1px solid #ecd58a;border-radius:10px;padding:8px 14px;font-size:14px;margin:14px 0 0}
.gp h2{font-size:26px;margin:0 0 6px}.gp .sub{margin:0 0 16px}
.gp-pill{display:inline-block;border:1px solid #d8d8d8;background:#fff;border-radius:999px;padding:5px 12px;margin:0 6px 8px 0;font-size:14.5px}
.gp ul{list-style:none;padding:0;margin:0}


.ga-hero{padding:30px 0 24px;border-bottom:1px solid #e4e4e4}.ga-hero h1{font-size:40px;margin:6px 0}
.ga-kick{font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.ga-sec{margin:34px 0}.ga-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ga-card{background:#fff;border:1px solid #e4e4e4;border-radius:16px;padding:16px 18px}.ga-card h3{font-size:17px;margin:0 0 4px}.ga-card p{margin:0;font-size:15px}
.ga-card .ic{width:34px;height:34px;border-radius:10px;background:#efefef;display:grid;place-items:center;color:#7a5cc4;margin-bottom:8px;font-weight:700}
.ga-mem{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;text-align:center}.ga-av{width:74px;height:74px;border-radius:50%;background:#f3effc;margin:0 auto 8px;display:grid;place-items:center;font:700 22px Lora;color:#7a5cc4;border:1px solid #ddd2f5}
.ga-mem b{display:block;font-size:15px}.ga-mem span{font-size:14px}
.gp-pub{background:#fff;border:1px solid #e4e4e4;border-radius:14px;padding:12px 16px;margin-bottom:10px}.gp-pub a{color:#000;font-weight:700;text-decoration:none}.gp-pub span{display:block;font-size:14px;margin-top:3px}
.ga-join{background:#3b2a66;color:#fff;border-radius:18px;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.ga-join h2,.ga-join p{color:#fff}
/*x*/.gb-join{border:2px solid #7a5cc4;border-radius:18px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center}.gb-join a{background:#7a5cc4;color:#fff;border-radius:999px;padding:10px 18px;font-weight:700;text-decoration:none}.ga-join a{background:#fff;color:#3b2a66;border-radius:999px;padding:10px 18px;font-weight:700;text-decoration:none;white-space:nowrap}

/* 2026-11-29: "Our aim" box beside the group name (option C) */
.gbar-mark{flex:none}
.gh-row{display:flex;gap:40px;align-items:center}.gh-txt{flex:1 1 auto;min-width:0}
.gaim{flex:0 0 300px;background:#f3effc;border-left:4px solid #7a5cc4;border-radius:16px;padding:20px 24px}
.gaim-q{font:700 54px/.6 Lora,serif;color:#7a5cc4;display:block;margin-top:14px}
.gaim p{font:italic 21px/1.4 Lora,serif;margin:4px 0 10px;color:#000}
.gaim-by{font-size:14px;color:#3b2a66}
@media (max-width:900px){.gh-row{flex-direction:column;align-items:stretch;gap:20px}.gaim{flex:none}.gaim p{font-size:19px}}
