/* ==========================================================
   gboako Scholarships — Tano North Constituency
   Tokens: deep indigo + emerald green — trust and growth,
   set against the savanna landscape of Ghana's Upper West Region.
   ========================================================== */

:root{
  --navy:        #16233F;
  --navy-2:      #1E3155;
  --emerald:       #1E7A4C;
  --emerald-light: #3FAE74;
  --ink:         #241F18;
  --paper:       #FAFAF7;
  --sage:        #F1F4EE;
  --line:        #E1DCCE;
  --white:       #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, Segoe UI, sans-serif;

  --max: 1120px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; }

ul, ol{ list-style:none; }

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  color:var(--navy);
}

:focus-visible{
  outline:2px solid var(--emerald);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}

/* ---------- Layout helpers ---------- */

section{
  padding:96px 8%;
}

section.alt{
  background:var(--sage);
}

.section-head{
  max-width:640px;
  margin:0 auto 48px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(28px, 3.6vw, 38px);
}

.section-sub{
  margin-top:10px;
  color:#5B5647;
  font-size:17px;
}

/* ---------- Header / Nav ---------- */

header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:var(--navy);
}

nav{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 6%;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-area img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}

.logo-title{
  color:var(--white);
  font-family:var(--font-display);
  font-size:18px;
  font-weight:600;
}

.logo-sub{
  color:#B9C2D6;
  font-size:12px;
}

nav ul{
  display:flex;
  align-items:center;
  gap:28px;
}

nav ul a{
  color:#DDE3EF;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  transition:color .2s ease;
}

nav ul a:hover{
  color:var(--emerald-light);
}

.login-btn{
  background:var(--emerald);
  color:var(--white) !important;
  padding:9px 22px;
  border-radius:6px;
  font-weight:600 !important;
}

.login-btn:hover{
  background:var(--emerald-light);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:34px;
  height:34px;
  background:none;
  border:none;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  height:2px;
  background:var(--white);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* ---------- Hero ---------- */

.hero{
  position:relative;
  overflow:hidden;
  padding:170px 8% 100px;
  background:var(--navy);
}

/* Sliding background images (crossfade) */
.hero-backgrounds{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  animation:heroFade 21s ease-in-out infinite;
}

.hero-bg--one{   background-image:url("../images/back2.jpg");  animation-delay:0s; }
.hero-bg--two{   background-image:url("../images/dr2.jpeg"); animation-delay:7s; }
.hero-bg--three{ background-image:url("../images/arms.jpeg"); animation-delay:14s; }

@keyframes heroFade{
  0%   { opacity:0; }
  10%  { opacity:1; }
  33%  { opacity:1; }
  43%  { opacity:0; }
  100% { opacity:0; }
}

/* One-sided overlay: dark navy behind the text on the left,
   fading out so the photo shows clearly on the right */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,
    rgba(22,35,63,.96) 0%,
    rgba(22,35,63,.88) 38%,
    rgba(22,35,63,.45) 68%,
    rgba(22,35,63,.10) 100%);
}

@media (prefers-reduced-motion: reduce){
  .hero-bg--one{ opacity:1; }
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:56px;
  align-items:center;
}

.eyebrow{
  color:var(--emerald-light);
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
}

.hero h1{
  color:var(--white);
  font-size:clamp(32px, 4.6vw, 50px);
  max-width:14ch;
  margin-bottom:22px;
}

.hero-lead{
  color:#D7DCEA;
  font-size:18px;
  max-width:46ch;
  margin-bottom:34px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-primary{
  background:var(--emerald);
  color:var(--white);
}

.btn-primary:hover{
  background:var(--emerald-light);
}

.btn-ghost{
  color:var(--white);
  border:1px solid rgba(255,255,255,.4);
}

.btn-ghost:hover{
  border-color:var(--white);
}

.hero-figure{
  display:flex;
  justify-content:flex-end;
}

.figure-card{
  background:rgba(22,35,63,.72);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
  padding:38px 32px;
  max-width:260px;
}

.figure-number{
  display:block;
  font-family:var(--font-display);
  font-size:48px;
  color:var(--emerald-light);
  margin-bottom:10px;
}

.figure-label{
  color:#D7DCEA;
  font-size:14px;
}


/* ---------- Mission ---------- */

.mission-inner{
  max-width:680px;
  margin:0 auto;
  text-align:center;
}

.mission h2{
  font-size:clamp(28px,3.6vw,38px);
  margin-bottom:20px;
}

.mission p{
  font-size:19px;
  color:#4A4536;
}

/* ---------- About ---------- */

.about-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.about-grid p{
  font-size:16px;
  color:#4A4536;
}

/* ---------- Eligibility ---------- */

.eligibility-list{
  max-width:640px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.eligibility-list li{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  padding:18px 22px;
  font-size:16px;
}

.check{
  width:26px;
  height:26px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:var(--emerald-light);
  border-radius:50%;
  font-size:13px;
}

/* ---------- Process (steps) ---------- */

.steps{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  position:relative;
}

.step{
  position:relative;
  padding:0 28px;
  border-left:1px solid var(--line);
}

.step:first-child{
  border-left:none;
  padding-left:0;
}

.step-index{
  display:block;
  font-family:var(--font-display);
  font-size:32px;
  color:var(--emerald);
  margin-bottom:14px;
}

.step h3{
  font-size:20px;
  margin-bottom:10px;
}

.step p{
  color:#5B5647;
  font-size:15px;
}

/* ---------- Features ---------- */

.feature-list{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
}

.feature h3{
  font-size:19px;
  margin-bottom:10px;
  position:relative;
  padding-bottom:12px;
}

.feature h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:32px;
  height:3px;
  background:var(--emerald);
  border-radius:3px;
}

.feature p{
  color:#5B5647;
  font-size:15px;
}

/* ---------- Stats ---------- */

/* ---------- Stats / Impact Cards ---------- */

.stats {
    background: var(--navy);
}

.stats .section-head h2 {
    color: var(--white);
}

.numbers {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}

/* Individual impact cards */
.numbers > div {
    position: relative;
    overflow: hidden;
    padding: 35px 22px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.10),
        rgba(255, 255, 255, 0.035)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Green accent along the top of each card */
.numbers > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--emerald-light);
    transform: scaleX(0.25);
    transition: transform 0.3s ease;
}

/* Hover effect */
.numbers > div:hover {
    transform: translateY(-8px);
    background: rgba(63, 174, 116, 0.13);
    border-color: var(--emerald-light);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(63, 174, 116, 0.08);
}

.numbers > div:hover::before {
    transform: scaleX(1);
}

/* Statistic figures */
.numbers h3 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 46px);
    color: var(--emerald-light);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.numbers > div:hover h3 {
    color: #68D99B;
}

/* Card descriptions */
.numbers p {
    color: #D7DCEA;
    font-size: 15px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .numbers {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 420px;
    }

    .numbers > div {
        padding: 28px 20px;
    }

    .numbers h3 {
        font-size: 36px;
    }
}

/* ---------- Vision ---------- */

.vision-inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:64px;
  align-items:center;
}

.vision .eyebrow,
.mp-section .eyebrow,
.profile-page .eyebrow{
  color:var(--emerald);
}

.vision-statement h2{
  font-size:clamp(26px,3.4vw,38px);
  margin-bottom:20px;
}

.vision-statement p:not(.eyebrow){
  color:#4A4536;
  font-size:17px;
  max-width:50ch;
}

.vision-points{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.vision-points li{
  background:var(--white);
  border:1px solid var(--line);
  border-left:4px solid var(--emerald);
  border-radius:8px;
  padding:20px 24px;
}

.vision-points h3{
  font-size:18px;
  margin-bottom:6px;
}

.vision-points p{
  color:#5B5647;
  font-size:15px;
}

/* ---------- MP section ---------- */

.mp-section{
  background:var(--white);
}

.mp-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:340px 1fr;
  gap:72px;
  align-items:center;
}

.mp-photo{
  position:relative;
}

/* Offset frame behind the photo */
.mp-photo::before{
  content:"";
  position:absolute;
  left:-18px;
  bottom:-18px;
  width:72%;
  height:72%;
  border-left:3px solid var(--emerald);
  border-bottom:3px solid var(--emerald);
}

.mp-photo img{
  position:relative;
  z-index:1;
  width:100%;
  border-radius:4px;
  aspect-ratio:4/5;
  object-fit:cover;
}

.mp-content h2{
  font-size:clamp(28px,3.6vw,40px);
  margin-bottom:18px;
}

.mp-content h2::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  margin-top:16px;
  background:var(--emerald);
}

.mp-content p:not(.eyebrow){
  color:#4A4536;
  font-size:16px;
  max-width:56ch;
  margin-bottom:14px;
}

.mp-link{
  margin-top:14px;
}

.btn-outline{
  color:var(--navy);
  border:1px solid var(--navy);
}

.btn-outline:hover{
  background:var(--navy);
  color:var(--white);
}

/* ---------- MP full profile page ---------- */

.profile-page{
  background:var(--white);
  padding-top:150px;
}

.profile-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:340px 1fr;
  gap:72px;
  align-items:start;
}

.profile-body h1{
  font-size:clamp(30px,4vw,44px);
  margin-bottom:24px;
}

.profile-story p{
  color:#4A4536;
  font-size:17px;
  line-height:1.8;
  margin-bottom:18px;
  max-width:62ch;
}

.profile-body .hero-actions{
  margin-top:30px;
}

/* ---------- Contact / Footer ---------- */

.site-footer{
  background:#0F1A30;
  color:#B9C2D6;
  padding:80px 8% 0;
  font-size:15px;
}

.footer-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.4fr;
  gap:48px;
  padding-bottom:56px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}

.footer-logo img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
}

.footer-logo strong{
  display:block;
  color:var(--white);
  font-size:15px;
  letter-spacing:.3px;
}

.footer-logo span{
  display:block;
  color:var(--emerald-light);
  font-size:13px;
}

.footer-brand p{
  max-width:34ch;
  line-height:1.7;
}

.site-footer h4{
  color:var(--white);
  font-family:var(--font-body);
  font-size:17px;
  font-weight:700;
  margin-bottom:22px;
}

.footer-col ul{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.site-footer a{
  color:#B9C2D6;
  text-decoration:none;
  transition:color .2s ease;
}

.site-footer a:hover{
  color:var(--emerald-light);
}

.footer-bottom{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:24px 0;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:14px;
  color:#8A94AB;
}

/* ---------- Responsive ---------- */

@media (max-width:960px){

  .hero-inner{
    grid-template-columns:1fr;
  }

  .hero-figure{
    justify-content:flex-start;
  }

  .about-grid,
  .steps,
  .feature-list{
    grid-template-columns:1fr;
    gap:36px;
  }

  .step{
    border-left:none;
    padding-left:0;
    border-top:1px solid var(--line);
    padding-top:24px;
  }

  .step:first-child{
    border-top:none;
    padding-top:0;
  }

  .mp-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .mp-photo{
    max-width:220px;
    margin:0 auto;
  }

  .mp-content p:not(.eyebrow){
    margin:0 auto;
  }
}

@media (max-width:768px){

  .nav-toggle{
    display:flex;
  }

  nav ul{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--navy);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }

  nav ul.open{
    max-height:400px;
  }

  nav ul li{
    width:100%;
    border-top:1px solid rgba(255,255,255,.08);
  }

  nav ul a{
    display:block;
    padding:16px 6%;
  }

  .login-btn{
    display:inline-block;
    margin:12px 6% 16px;
  }

  section{
    padding:64px 6%;
  }

  .hero{
    padding:140px 6% 72px;
  }

  .numbers{
    gap:28px;
  }

  .numbers h3{
    font-size:36px;
  }
}

@media (max-width:480px){

  .hero h1{
    max-width:none;
  }

  .figure-card{
    max-width:none;
  }

}

/* ---------- Responsive: hero overlay, vision, MP, footer ---------- */

@media (max-width:960px){

  /* single column hero: the text spans the width, so darken evenly */
  .hero::before{
    background:linear-gradient(180deg, rgba(22,35,63,.92), rgba(22,35,63,.78));
  }

  .vision-inner{
    grid-template-columns:1fr;
    gap:36px;
  }

  .mp-grid,
  .profile-grid{
    grid-template-columns:1fr;
    gap:48px;
  }

  .mp-photo{
    max-width:260px;
    margin:0 auto;
  }

  .mp-photo::before{
    left:-12px;
    bottom:-12px;
  }

  .mp-content h2::after{
    margin-left:auto;
    margin-right:auto;
  }

  .profile-page{
    padding-top:130px;
  }

  .profile-body{
    text-align:center;
  }

  .profile-story p{
    margin-left:auto;
    margin-right:auto;
    text-align:left;
  }

  .profile-body .hero-actions{
    justify-content:center;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:40px;
  }
}

@media (max-width:560px){

  .site-footer{
    padding:56px 6% 0;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;
    gap:6px;
  }
}


/* ==========================================================
   2026 refinement — richer hero, polished interactions,
   accessible responsive spacing and improved profile layout
   ========================================================== */
:root{
  --emerald-deep:#155D3B;
  --gold:#E6C477;
  --shadow-soft:0 18px 50px rgba(12,25,45,.14);
}
body{ overflow-x:hidden; }
header{
  box-shadow:0 8px 28px rgba(5,15,32,.16);
  border-bottom:1px solid rgba(255,255,255,.08);
}
nav{ min-height:76px; }
.logo-area img{ border:2px solid rgba(255,255,255,.78); box-shadow:0 4px 16px rgba(0,0,0,.18); }
nav ul a:not(.login-btn){ position:relative; }
nav ul a:not(.login-btn)::after{
  content:""; position:absolute; left:0; right:100%; bottom:-7px;
  height:2px; background:var(--emerald-light); transition:right .22s ease;
}
nav ul a:not(.login-btn):hover::after{ right:0; }
.login-btn{
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 7px 18px rgba(0,0,0,.12);
}
.hero{
  min-height:690px;
  display:flex;
  align-items:center;
  isolation:isolate;
  padding-top:164px;
  padding-bottom:105px;
  background:
    radial-gradient(ellipse at 82% 18%,rgba(63,174,116,.20),transparent 34%),
    linear-gradient(125deg,#101b34 0%,#1a3153 58%,#173e3a 100%);
}
.hero-backgrounds{ opacity:.82; }
.hero-bg{ background-position:center 42%; transform:scale(1.025); }
.hero::before{
  background:
    linear-gradient(90deg,rgba(13,25,47,.97) 0%,rgba(18,34,59,.88) 39%,rgba(18,34,59,.50) 72%,rgba(18,34,59,.24) 100%),
    linear-gradient(0deg,rgba(11,25,43,.38),transparent 50%);
}
.hero::after{
  content:""; position:absolute; z-index:1; pointer-events:none;
  width:390px; height:390px; right:-120px; top:80px;
  border:1px solid rgba(230,196,119,.32); border-radius:50%;
  box-shadow:0 0 0 35px rgba(230,196,119,.035),0 0 0 75px rgba(230,196,119,.025);
}
.hero-inner{ width:100%; gap:clamp(28px,5vw,72px); }
.hero-content{ max-width:700px; }
.hero .eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:#D8F6E5; background:rgba(63,174,116,.14);
  border:1px solid rgba(114,221,160,.30); border-radius:999px;
  padding:8px 13px; margin-bottom:22px; letter-spacing:.025em;
}
.hero .eyebrow::before{
  content:""; width:7px; height:7px; flex:0 0 7px; border-radius:50%;
  background:#72DDA0; box-shadow:0 0 0 4px rgba(114,221,160,.13);
}
.hero h1{
  font-size:clamp(38px,5.2vw,66px);
  line-height:1.035; letter-spacing:-.035em; max-width:12ch;
  text-wrap:balance; margin-bottom:24px;
}
.hero-lead{
  font-size:clamp(16px,1.45vw,19px); line-height:1.8;
  color:#E0E7F2; max-width:48ch;
}
.hero-actions{ gap:13px; }
.btn{
  border-radius:9px; padding:15px 22px;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:linear-gradient(135deg,#2C9B62,#1E7A4C);
  box-shadow:0 10px 26px rgba(30,122,76,.28);
}
.btn-primary:hover{ background:linear-gradient(135deg,#43B978,#258958); box-shadow:0 14px 30px rgba(30,122,76,.36); }
.btn-ghost{ background:rgba(255,255,255,.055); border-color:rgba(255,255,255,.42); }
.btn-ghost:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.78); }
.hero-figure{ position:relative; z-index:2; }
.figure-card{
  position:relative; width:min(100%,300px); max-width:300px;
  padding:34px 30px 32px; border-radius:18px;
  background:linear-gradient(145deg,rgba(20,40,68,.86),rgba(13,30,47,.66));
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 24px 65px rgba(0,0,0,.25);
}
.figure-card::before{
  content:""; display:block; width:42px; height:4px; border-radius:99px;
  background:var(--gold); margin-bottom:20px;
}
.figure-number{ color:#7DE0A6; font-size:clamp(42px,5vw,58px); line-height:1; }
.figure-label{ display:block; line-height:1.7; font-size:14px; }
section{ scroll-margin-top:82px; }
.section-head h2{ letter-spacing:-.025em; }
.eligibility-list li,.vision-points li{
  box-shadow:0 5px 18px rgba(22,35,63,.035);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.eligibility-list li:hover,.vision-points li:hover{
  transform:translateY(-3px); box-shadow:var(--shadow-soft); border-color:#C6D8C8;
}
.mp-photo img{ box-shadow:var(--shadow-soft); }
.site-footer a:focus-visible, nav a:focus-visible,.btn:focus-visible{ outline-color:var(--gold); }
.profile-page{ min-height:65vh; padding-bottom:100px; }
.profile-grid{ align-items:start; }
.profile-photo-card{
  position:sticky; top:110px; background:var(--paper); padding:16px;
  border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-soft);
}
.profile-photo-card img{
  width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:11px;
}
.profile-photo-caption{ padding:16px 4px 4px; }
.profile-photo-caption strong{ display:block; color:var(--navy); font-size:17px; }
.profile-photo-caption span{ display:block; color:#647084; font-size:13px; margin-top:4px; }
.profile-kicker{
  display:inline-block; padding:7px 11px; border-radius:999px;
  color:var(--emerald-deep); background:#E7F4EA; font-weight:700;
  font-size:12px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:15px;
}
.profile-body h1{ letter-spacing:-.035em; line-height:1.05; }
.profile-role{ color:var(--emerald-deep); font-size:clamp(16px,2vw,19px); font-weight:700; margin-bottom:18px; }
.profile-contact{
  display:flex; flex-wrap:wrap; gap:8px 16px; margin:0 0 25px;
  color:#526174; font-size:14px;
}
.profile-contact a{ color:var(--emerald-deep); text-decoration:none; overflow-wrap:anywhere; }
.profile-contact a:hover{ text-decoration:underline; }
.profile-story{ display:grid; gap:17px; }
.profile-story p{ max-width:none; margin:0; }
.profile-story h2{
  font-size:clamp(21px,2.6vw,27px); margin:22px 0 0;
  padding-bottom:10px; border-bottom:1px solid var(--line);
}
.profile-highlights{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0 28px;
}
.profile-highlight{
  padding:17px; background:#F5F7F3; border:1px solid #E3E9DF; border-radius:12px;
}
.profile-highlight strong{ display:block; color:var(--navy); font-size:14px; margin-bottom:4px; }
.profile-highlight span{ display:block; color:#626D7D; font-size:13px; line-height:1.55; }
.profile-back{ margin-top:30px; display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:960px){
  .hero{ min-height:auto; }
  .hero-inner{ gap:38px; }
  .hero h1{ max-width:15ch; }
  .hero-figure{ justify-content:flex-start; }
  .figure-card{ max-width:360px; }
  .profile-photo-card{ position:relative; top:auto; max-width:330px; margin:0 auto; }
}
@media (max-width:768px){
  nav{ padding:12px 5%; min-height:68px; }
  .logo-title{ font-size:16px; }
  .logo-sub{ font-size:11px; }
  .hero{ padding:126px 6% 68px; }
  .hero::before{ background:linear-gradient(180deg,rgba(13,25,47,.91),rgba(13,25,47,.82)); }
  .hero::after{ width:230px; height:230px; right:-110px; top:55px; }
  .hero h1{ font-size:clamp(37px,9vw,54px); max-width:13ch; }
  .hero-lead{ line-height:1.7; }
  .hero-actions{ display:grid; grid-template-columns:1fr; max-width:380px; }
  .hero-actions .btn{ text-align:center; }
  .figure-card{ padding:25px; }
  .profile-page{ padding-top:110px; }
  .profile-grid{ gap:32px; }
}
@media (max-width:480px){
  .logo-area{ gap:8px; }
  .logo-area img{ width:36px; height:36px; }
  .logo-title{ font-size:14px; }
  .logo-sub{ font-size:10px; }
  .hero{ padding-top:112px; }
  .hero .eyebrow{ font-size:11px; line-height:1.45; align-items:flex-start; border-radius:12px; }
  .hero h1{ font-size:clamp(35px,10vw,44px); }
  .hero-lead{ font-size:16px; }
  .figure-card{ width:100%; }
  .profile-highlights{ grid-template-columns:1fr; }
  .profile-body h1{ font-size:36px; }
  .profile-story p{ font-size:16px; }
}

/* ==========================================================
   Logo fix — header and footer logos now share one look
   ========================================================== */
.logo-area img,
.footer-logo img{
  flex:0 0 auto;            /* never squash into an oval inside the flex row */
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  background:var(--white);  /* clean backing for a JPEG logo on dark backgrounds */
}

.footer-logo img{
  width:56px;
  height:56px;
  border:2px solid rgba(255,255,255,.78);
  box-shadow:0 4px 16px rgba(0,0,0,.28);
}

.footer-logo-text{
  display:flex;
  flex-direction:column;
  gap:3px;
  line-height:1.3;
  min-width:0;
}

.footer-logo-text strong{
  font-family:var(--font-display);
  font-size:16px;
  letter-spacing:.06em;
}

@media (max-width:480px){
  .footer-logo img{ width:48px; height:48px; }
}

/* ==========================================================
   Profile page polish (mp_profile.php only — scoped to
   body.profile-view so the home page is untouched)
   ========================================================== */

/* Desktop: line the header up with the page content */
@media (min-width:769px){
  .profile-view nav{
    width:min(var(--max), 84%);
    max-width:none;
    padding-left:0;
    padding-right:0;
  }
}

/* Tablet + mobile: one clean left-aligned reading column */
@media (max-width:960px){

  .profile-view .profile-body{ text-align:left; }

  .profile-view .profile-story h2{ text-align:left; }

  /* compact photo card: small portrait beside the name */
  .profile-view .profile-photo-card{
    display:flex;
    align-items:center;
    gap:16px;
    max-width:none;
    margin:0;
    padding:14px;
    border-radius:16px;
  }

  .profile-view .profile-photo-card img{
    width:92px;
    height:116px;
    flex:0 0 92px;
    aspect-ratio:auto;
    border-radius:10px;
  }

  .profile-view .profile-photo-caption{ padding:0; }

  .profile-view .profile-contact{
    flex-direction:column;
    gap:6px;
  }

  /* neat, equal-width buttons */
  .profile-view .profile-back{
    flex-direction:column;
    gap:12px;
  }

  .profile-view .profile-back .btn{
    width:100%;
    text-align:center;
  }
}