/* System font across site */
html, body, button, input, textarea, select {
  font-family: var(--font-body);
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
}
strong, b {
  font-weight: 500;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography + layout primitives (kept deliberately minimal for consistency) */
p{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(0,0,0,.82);
}

main.content{
  width: var(--measure);
  margin: 0 auto;
  padding: 78px 20px 96px;
}

/* About page (explainer) uses a two-column structure: main text + right rail */
@supports selector(:has(*)){
  main.content:has(aside.sidebar){
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 56px;
    align-items: start;
  }
  main.content:has(aside.sidebar) > .divider{ display:none; }
  main.content:has(aside.sidebar) > aside.sidebar{
    grid-column: 2;
    grid-row: 1 / span 99;
  }
}

.section-title{
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 22ch;
}

.intro-text{
  margin: 0 0 18px;
  max-width: 68ch;
}

.divider{
  display: none;
}

.sidebar{
  grid-column: 2;
  grid-row: 1 / span 999;
}

.sidebar h2{
  margin: 0 0 10px;
}

/* Connect page layout: keep same type scale as About */
.connect-page p,
.connect-page .p{
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 900px){
  @supports selector(:has(*)){
    main.content:has(aside.sidebar){
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .sidebar{
      grid-column: 1;
      grid-row: auto;
    }
  }
  .section-title{
    max-width: 28ch;
  }
  p{
    font-size: 17px;
  }
}

:root{
  --pink-1: #F7B2C4;
  --pink-2: #FF7DA8;
  --measure: min(1100px, 92vw);

  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --uk-blue: rgb(1,34,105);
  --naija-green: rgb(0,134,81);
  --paper: #f5f0e4;
  --ink: rgba(0,0,0,.86);

  --uk-blue: rgb(1,34,105);
  --naija-green: rgb(0,134,81);
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  --teal: #40F596;
  --pink: #C93BFC;
  --ink: #0b0b0b;
  --muted: #6b6f76;
  --paper: #F2E6D6;
  --shadow: 0 18px 60px rgba(0,0,0,.22);
  --radius: 18px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 800px at 12% 10%, rgba(1,34,105,0.22), rgba(1,34,105,0) 60%),
    radial-gradient(1000px 900px at 88% 14%, rgba(0,134,81,0.22), rgba(0,134,81,0) 60%),
    radial-gradient(900px 700px at 30% 92%, rgba(0,134,81,0.12), rgba(0,134,81,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,246,242,0.94));
  min-height:100vh;
}
a{ 
  color:inherit; 
  text-decoration:none;
  transition: color 0.25s ease;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid rgba(64,245,150,.75);
  outline-offset: 3px;
  border-radius: 10px;
  transition: outline 0.2s ease;
}
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:12px;
  z-index:9999;
}
.site{ min-height:100vh; display:flex; flex-direction:column; }
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,.25));
  border-bottom: 1px solid rgba(242,230,214,.65);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled{
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  background: linear-gradient(to bottom, rgba(255,255,255,.75), rgba(255,255,255,.45));
}
.header-inner{
  width: var(--measure);
  margin: 0 auto;
  padding: 14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{ display:flex; align-items:baseline; gap:10px; min-width: 240px; }
.brand .mark{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  box-shadow: 0 0 0 6px rgba(64,245,150,.10);
  animation: pulse 3.2s ease-in-out 1;
}
@keyframes pulse{
  0%,100%{ transform: translateY(0); box-shadow: 0 0 0 6px rgba(64,245,150,.10); }
  50%{ transform: translateY(-1px); box-shadow: 0 0 0 10px rgba(201,59,252,.10); }
}
.brand a{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 18px;
  line-height: 1;
}
.brand a span{
  color: rgba(0,0,0,.68);
  font-family: var(--font-body);
  font-weight: 500;
  margin-left: 8px;
  font-size: 13px;
}
.nav{ display:flex; gap: 14px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(0,0,0,.78);
  font-weight: 500;
  letter-spacing: .1px;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav a:hover::after{
  transform: scaleX(1);
}
.nav a.secondary{ color: var(--muted); }
.nav a.secondary .arrow{
  display:inline-block;
  transform: translateX(0);
  transition: transform 0.25s ease;
}
.nav a.secondary:hover .arrow{ transform: translateX(4px); }

.main{ flex:1; display:flex; align-items:center; justify-content:center; }
.wrap{ width:100%; max-width:1200px; padding: 28px 18px 38px; }
.hero{ display:grid; gap: 18px; justify-items:center; }
.title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 6px 0 0;
  color: rgba(0,0,0,.86);
  text-align:center;
  letter-spacing: .2px;
}
.subtitle{
  font-weight:700;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(0,0,0,.78);
  text-align:center;
  max-width: 60ch;
}
.frame{
  overflow:hidden;
  margin-inline: auto;
  width: min(1040px, 92vw);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.28));
  border: 1px solid rgba(242,230,214,.9);
  box-shadow: var(--shadow);
}
.photo-wrap{
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  overflow:hidden;
  background: rgba(0,0,0,.06);
  border: 2px solid var(--paper);
}
.photo-wrap img{ width:100%; height:auto; display:block; max-width:100%; border-radius: inherit; }
.credit{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,.62);
}
.card{
  margin-top: 10px;
  background: var(--paper);
  border-radius: 0;
  padding: 18px 18px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.lede{ margin: 0; font-size: 18px; line-height: 1.45; color: rgba(0,0,0,.82); }
.section{ padding: 8px 0 0; }
.h2{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 20px;
  margin: 22px 0 8px;
}
.p{ margin: 0; font-size: 18px; line-height: 1.5; color: rgba(0,0,0,.82); }
.kicker{ margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer{
  margin-top:auto;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.22));
  color: rgba(0,0,0,.45);
  font-size: 11px;
}
.footer-inner{
  max-width:1100px;
  margin: 0 auto;
  padding: 26px 18px 22px;
  display:grid;
  gap: 14px;
}
.footer a{
  color: rgba(0,0,0,.45); 
  text-decoration:none;
  transition: color 0.25s ease;
}
.footer a:hover{ 
  color: rgba(255,255,255,1);
  text-decoration:underline; 
}
.footer-top{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
}
.footer-meta{
  font-size: 13px;
  color: rgba(0,0,0,.45);
  line-height: 1.5;
}
.footer-links{ display:flex; gap: 14px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.subscribe{ display:flex; gap: 10px; flex-wrap:wrap; align-items:center; }
.subscribe label{ font-size: 13px; color: rgba(0,0,0,.45); }
.subscribe input{
  width: min(360px, 100%);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.subscribe input:focus{
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.18);
}
.subscribe input::placeholder{ color: rgba(255,255,255,.65); }
.subscribe button{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(135deg, rgba(64,245,150,.65), rgba(201,59,252,.55));
  color: rgba(0,0,0,.86);
  font-weight: 700;
  cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subscribe button:hover{
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.smallprint{ font-size: 12px; color: rgba(0,0,0,.45); }
.stack{ display:grid; gap: 14px; }
@media (min-width: 860px){
  .split{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items:start; }
  .brand a{ font-size: 19px; }
}

.footer-links a{ font-size: 13px; }

/* Mobile refinement */
body{ font-size: 16px; }

/* Landing (home) – full image gateway */
body.home{
  margin:0;
  overflow:hidden;
  background:#000;
}
.home .landing-link{
  position:fixed;
  inset:0;
  display:block;
  cursor:pointer;
  overflow:hidden;
}
.home .landing-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  animation: slowZoom 20s ease-in-out infinite alternate;
  transition: transform 0.6s ease;
}
@keyframes slowZoom{
  0%{ transform: scale(1); }
  100%{ transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce){
  .home .landing-image{
    animation: none;
  }
}
.home .landing-link:hover .landing-image{
  transform: scale(1.03);
}
.home .landing-title{
  position:absolute;
  left: clamp(48px, 6vw, 96px);
  top: clamp(38px, 6.5vh, 92px);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1;
  color: #ffffff;
}

.landing-title .title-fashioning{ color:#ffffff; }
.landing-title .title-identities{ color:#ffffff; }


@media (max-width: 640px){
  .home .landing-title{
  position:absolute;
  left: clamp(48px, 6vw, 96px);
  top: clamp(38px, 6.5vh, 92px);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1;
  color: #ffffff;
}
}
.header-inner{
  width: var(--measure);
  margin: 0 auto;
  padding: 14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}


@media (max-width: 520px){
  .wrap{ padding: 18px 14px 26px; }
  .frame{ padding: 14px; }
  .lede, .p{ font-size: 17px; }
  .h2{ font-size: 20px; }
  .brand{ min-width: auto; }
}

@media (max-width: 740px) and (orientation: landscape){
  .wrap{ padding: 16px 14px 22px; }
  .title{ font-size: clamp(28px, 4vw, 44px); }
  .frame{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .mark{ animation: none !important; }
  .home .landing-image{ animation: none !important; }
  *{ transition: none !important; }
}

.lede + .lede{margin-top:0.75rem;}

.credit-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
  gap:2px;
}

/* full-bleed photo on desktop */
@media (min-width: 900px){
  .photo-wrap{
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* link affordance */
a:hover, a:focus-visible{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}



/* Footer (two sizes, no bold) */
.footer{
  margin-top: 36px;
  padding: 18px 18px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.22));
  
}
.footer-top{ font-size: 0.95rem; line-height:1.35; }
.footer-bottom{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.10);
  font-size: 0.75rem;
  line-height:1.35;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-legal{ display:flex; gap: 12px; flex-wrap: wrap; }

/* light underline to denote links */
.footer-link,
.footer-legal a{
  text-decoration: none;
  position: relative;
}
.footer-link .arrow{
  display: inline-block;
  transition: transform 0.25s ease;
}
.footer-link:hover .arrow{
  transform: translateX(3px);
}
.footer-link:hover,
.footer-link:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}



/* Mobile menu */
.menu-btn{
  display:none;
  width:42px; height:34px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.menu-btn:hover{
  background: rgba(255,255,255,.55);
}
.menu-bars{
  display:block;
  width:18px; height:12px;
  margin: 0 auto;
  position: relative;
}
.menu-bars:before, .menu-bars:after, .menu-bars{
  background: currentColor;
  transition: all 0.3s ease;
}
.menu-bars:before, .menu-bars:after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  border-radius:2px;
  background: currentColor;
}
.menu-bars:before{ top:0; }
.menu-bars:after{ bottom:0; }
.menu-bars{
  height:2px;
  border-radius:2px;
  background: currentColor;
}
.nav-links{
  display:flex;
  gap:12px;
  align-items:center;
}
.nav-link{ text-decoration:none; }
@media (max-width: 720px){
  .menu-btn{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-links{
    position: absolute;
    top: 58px;
    left: 18px;
    right: 18px;
    display:none;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.40));
    border: 1px solid rgba(242,230,214,.85);
    box-shadow: var(--shadow);
    z-index: 50;
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown{
    from{
      opacity: 0;
      transform: translateY(-10px);
    }
    to{
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-links.open{ display:flex; }
  .nav a{ display:none; } /* hide old anchors if any */
  .nav .secondary{ display:none; } /* hide arrow on mobile for clarity */
}
@media (min-width: 721px){
  .nav-links{ position: static; }
}

/* Typography */
body{ font-family: var(--font-body); color: var(--ink); background: #fff; }
h1,h2,h3,.title,.h2,.home-h1,.home-tag,.home-brand{ font-family: var(--font-display); }

/* Home – mockup grid */
.home-topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--measure);
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 28px 0;
  background: transparent;
}

.home-brand{
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--uk-blue);
  font-weight: 700;
}

.home-nav{
  display:flex;
  align-items:baseline;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}

.home-nav-link{
  text-decoration:none;
  color: var(--uk-blue);
}
.home-nav-link.is-accent{ color: var(--naija-green); }
.home-nav-sep{ color: rgba(0,0,0,.35); }

.home-main{ padding: 0 0 56px; }
.home-shell{ width: var(--measure); margin: 0 auto; padding-top: 26px; }

.home-frame{
  border-radius: 38px;
  overflow:hidden;
  background: transparent;
  box-shadow: none;
}

.home-image{
  display:block;
  width:100%;
  height:auto;
}

.home-credit{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0,0,0,.6);
}

.home-band{
  margin-top: 26px;
  padding: 26px 26px;
  background: var(--paper);
  border-radius: 0;
}

.home-band-grid{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 26px;
  align-items:start;
}

.home-h1{
  font-size: 44px;
  line-height: 1;
  color: var(--uk-blue);
  font-weight: 700;
  letter-spacing: .01em;
}

.home-body p{
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0,0,0,.74);
}

.home-tag{
  font-size: 22px;
  line-height: 1.1;
  color: var(--naija-green);
  font-weight: 700;
  letter-spacing: .01em;
}

@media (max-width: 820px){
  .home-topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--measure);
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 28px 0;
  background: transparent;
}
  .home-shell{ width: var(--measure); margin: 0 auto; padding-top: 26px; }
  .home-band-grid{ grid-template-columns: 1fr; }
  .home-h1{ font-size: 36px; }
  .home-tag{ font-size: 20px; }
}

.lede.is-bold{ font-weight: 600; }

.home-credit{ width: var(--measure); margin: 10px auto 0; }

.credit{ white-space: normal; }

.form-panel{ margin-top: 18px; }
.form-block{ margin:0; background: transparent; padding:0; }



/* ===== Formatting system pass (A2) ===== */

/* Global content column */
:root{
  --content-max: 62ch;
  --content-pad: clamp(18px, 4vw, 56px);
  --space-1: 10px;
  --space-2: 18px;
  --space-3: 28px;
  --space-4: 44px;
}

.page{padding-left:0; padding-right:0;}

.content{
  max-width: var(--content-max);
}

/* Ensure main pages use the same column */
.page main{
  max-width: var(--content-max);
}

/* Vertical rhythm */
.content > * + *{
  margin-top: var(--space-2);
}
.section{
  margin-top: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.visible{
  opacity: 1;
  transform: translateY(0);
}
.section > * + *{
  margin-top: var(--space-2);
}

/* Headings + labels (minimal, not shouty) */
h1, h2, h3{
  font-weight: 500;
  letter-spacing: 0.02em;
}
.section-title{
  font-weight: 500;
  letter-spacing: 0.08em; /* quiet caps feel */
  text-transform: uppercase;
}

/* Body measure consistency */
p{
  max-width: var(--content-max);
}

/* Panels: only where used, align to column */
.panel, .box, .card{
  max-width: var(--content-max);
}

/* Connect form alignment */
form{
  max-width: var(--content-max);
}
input, textarea, select, button{
  font-family: inherit;
}
.form-row, .form-group, .field{
  width: 100%;
}
input[type="text"], input[type="email"], textarea, select{
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Keep landing page unaffected */
.home, .landing, .landing-link{
  max-width: none !important;
}

/* --- Desktop two-column layouts (About + Connect) --- */
.about-grid,
.connect-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 980px){
  .about-grid{
    /* Wider right-hand panel so desktop doesn't feel empty */
    grid-template-columns: minmax(420px, 1fr) minmax(520px, 600px);
    gap: 72px;
  }

  .connect-grid{
    grid-template-columns: minmax(360px, 1fr) minmax(420px, 520px);
    gap: 80px;
  }
}

/* Let panels/cards fill their grid column when used inside a grid */
.about-grid .panel,
.about-grid .box,
.about-grid .card,
.connect-grid .panel,
.connect-grid .box,
.connect-grid .card{
  max-width: none;
}

/* About: readable measure without forcing a single narrow column */
.about-intro p{
  max-width: 56ch;
}

/* Connect: keep forms comfortably wide */
.connect-right .form-block{
  margin-top: 0;
}

.connect-right input,
.connect-right textarea{
  width: 100%;
}

/* About desktop balance: expand existing right panel (Step2) */
@media (min-width: 900px){
  .about-layout{
    display:grid;
    grid-template-columns: minmax(520px, 1fr) minmax(420px, 520px);
    gap: 64px;
    align-items:start;
  }
  .about-sidepanel{
    background: var(--archival-bg, #efe6dc);
    padding: 32px 34px 38px;
    margin-top: 0;
  }
}

/* ===== About desktop balance tweaks (wider + aligned) ===== */
@media (min-width: 900px){
  /* allow the about spread to use more of the viewport */
  .page main{
    max-width: none;
  }
  .content{
    max-width: min(1180px, calc(100vw - (2 * var(--content-pad))));
  }

  /* widen right panel column for better balance */
  .about-layout{
    grid-template-columns: minmax(520px, 1fr) minmax(520px, 1.1fr);
    gap: 72px;
  }

  /* align the text inside the peach panel higher */
  .about-sidepanel,
  .about-panel{
    padding-top: 22px;
  }
}




/* Header nav – right aligned */
.header .nav{
  justify-content: flex-end;
}

.header .nav a:hover{
  background: rgba(0,0,0,.05);
}

.header .nav a[aria-current="page"]{
  color: var(--naija-green);
  background: rgba(0,134,81,.12);
}


/* --- Header nav: anchor to far right of full-width banner --- */
.header{
  position: relative;
}

.header .nav{
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}


/* Restore header height (desktop) */
.header{
  min-height: 120px;
}

.nav a[aria-current="page"]{
color:#008651;
background:none;
}

.menu-toggle{
display:none;
background:none;
border:none;
font-size:24px;
}



.menu-bars{
  display:block;
  width:22px;
  height:2px;
  background: rgba(0,0,0,.78);
  position: relative;
}
.menu-bars::before,
.menu-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background: rgba(0,0,0,.78);
}
.menu-bars::before{ top:-7px; }
.menu-bars::after{ top:7px; }


  .nav-links.open{ display:flex; }
}


/* =========================
   Lovable-inspired layout
   ========================= */

/* Page scaffold */
.site{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main{
  flex: 1;
  width: 100%;
}

/* Header: keep spacious banner */
.header{
  width: 100%;
}
.header-inner{
  width: 100%;
  padding: 28px 32px;
}
.nav{
  justify-content: flex-end;
}
.nav-links{
  gap: 18px;
}
.nav a[aria-current="page"]{
  color: rgb(0,134,81);
  background: none !important;
}

/* ABOUT (explainer) – split layout with blue structural column */
body.about .main{
  padding: 0;
}
body.about .content{
  width: 100%;
  margin: 0;
  padding: 0;
}
body.about .about-grid{
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,0.95fr);
  gap: 0;
  min-height: calc(100vh - 120px); /* header + footer spacing handled by footer padding */
}
body.about .about-intro{
  padding: 84px clamp(20px, 6vw, 72px) 84px clamp(20px, 6vw, 72px);
  max-width: 760px;
}
body.about .about-sidepanel{
  background: rgb(1,34,105);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 84px clamp(20px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
body.about .about-sidepanel .h2,
body.about .about-sidepanel .p{
  color: rgba(255,255,255,.92) !important;
}
body.about .about-sidepanel .h2{
  margin-top: 0;
}
body.about .about-sidepanel .p{
  color: rgba(255,255,255,.88) !important;
}

/* Stack on smaller screens (matches your screenshot) */
@media (max-width: 900px){
  body.about .about-grid{
    grid-template-columns: 1fr;
  }
  body.about .about-sidepanel{
    border-radius: 0;
  }
}

/* CONNECT – balanced two-column cards, with full-width intro line */
body.connect .main{
  padding: 0;
}
body.connect .content{
  width: 100%;
  margin: 0;
  padding: 68px clamp(20px, 6vw, 72px) 92px;
}
.connect-intro{
  max-width: 1100px;
  margin: 0 auto 32px;
}
.connect-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.connect-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 26px 24px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px){
  .connect-grid{
    grid-template-columns: 1fr;
  }
}

/* FOOTER – full-width Nigerian green banner, softened off-white text */
.footer{
  width: 100%;
  background: rgb(0,134,81);
  color: rgba(245,245,245,.92);
  padding: 44px 32px;
  border-top: 0;
  margin-top: 0;
}
.footer .footer-top{
  width: min(1100px, 92vw);
  margin: 0 auto 24px;
}
.footer .footer-bottom{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.footer .footer-link{
  color: rgba(245,245,245,.92);
  text-decoration: none;
}
.footer .footer-link:hover{
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.footer .footer-legal{
  display: flex;
  gap: 18px;
}


/* === TEST FIXES: full-bleed sections + remove sidepanel animation === */
body.about .main{ padding: 0; }
body.about .content{ width: 100%; margin: 0; padding: 0; }
body.about .about-grid{ width: 100%; margin: 0; }
body.about .about-sidepanel,
body.about .about-sidepanel *{
  animation: none !important;
  transition: none !important;
}

/* Legal pages: center the footer legal links to avoid awkward far-right alignment */
body.legal .footer .footer-bottom{
  justify-content: center;
  text-align: center;
}
body.legal .footer .footer-legal{
  justify-content: center;
}

/* Legal pages: readable centered column */
body.legal main{
  width: min(820px, 92vw);
  margin: 0 auto;
  padding: 84px 0 96px;
}
body.legal main h1{ margin-top: 0; }
body.legal main h2{ margin-top: 28px; }

/* Connect form primitives */
.form{ display: grid; gap: 12px; margin-top: 10px; }
.label{ font-size: 14px; color: rgba(0,0,0,.72); }
.input, .textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  background: rgba(255,255,255,.85);
}
.textarea{ resize: vertical; min-height: 140px; }
.btn{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 16px;
  background: rgba(255,255,255,.9);
  cursor: pointer;
}
.btn.primary{
  background: rgba(0,0,0,.06);
}
.link{ color: rgba(0,0,0,.82); text-decoration: none; }
.link:hover{ text-decoration: underline; }
.check-row{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: rgba(0,0,0,.72);
  margin-top: 6px;
}
.check-row a{ color: rgba(0,0,0,.82); }
.spacer-16{ height: 16px; }
.spacer-28{ height: 28px; }

body.about .about-grid{ gap: 0 !important; }
body.about .about-sidepanel{ border: 0 !important; box-shadow:none !important; }

/* Connect page buttons – consistent states */
.btn{
  background: #ffffff !important;
  color: #008651 !important; /* Nigerian green */
  border: 1px solid rgba(0,0,0,.12) !important;
}
.btn:hover, .btn:focus-visible{
  background: #012269 !important; /* British blue */
  color: #ffffff !important;
  border-color: rgba(255,255,255,.28) !important;
}
.btn.primary{
  background: #ffffff !important;
  color: #008651 !important;
}
.btn.primary:hover, .btn.primary:focus-visible{
  background: #012269 !important;
  color: #ffffff !important;
}
.form-status{
  margin-top: 10px;
  font-size: 0.95rem;
}

/* About page – force blue panel full-bleed to right edge */
body.about .about-sidepanel{
  margin-right: calc(50% - 50vw);
  padding-right: calc(clamp(20px, 6vw, 72px) + (50vw - 50%));
}

body.about .about-grid{
  overflow: visible;
}

/* --- Mobile navigation: simple, always-visible links (no burger) --- */
.menu-toggle, .menu-btn { display: none !important; }

@media (max-width: 768px){
  .nav{
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
    gap: 14px;
  }
  .nav a{
    display:inline-block !important;
    padding: 10px 12px;
  }
}

#nav-toggle { display:none; }

.burger { display:none; font-size:30px; cursor:pointer; }

@media (max-width:768px){

  .burger {
    display:block;
    position:fixed;
    top:20px;
    right:20px;
    z-index:2000;
    color:#000;
  }

  .overlay-nav {
    position:fixed;
    inset:0;
    background:#00247D;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:32px;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
    z-index:1500;
  }

  #nav-toggle:checked ~ .overlay-nav {
    opacity:1;
    pointer-events:auto;
  }

  .overlay-nav a {
    color:white;
    font-size:28px;
  }

  .overlay-nav a.active {
    color:#008751;
  }
}

/* ===== STABILISED MOBILE NAV ===== */
@media (max-width: 768px) {

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    padding-top: 12px !important;
  }

  /* Ensure links are visible */
  .nav-links a,
  .nav-links .nav-link {
    display: block !important;
    color: #008751 !important; /* Nigerian green */
    text-decoration: none !important;
  }

  /* Remove burger + overlay completely */
  .burger,
  .burger-btn,
  .menu-toggle,
  .overlay-nav,
  #nav-toggle {
    display: none !important;
  }
}

/* ===== FINAL MOBILE NAV REWRITE (TEXT, NO JS) ===== */
@media (max-width: 768px){

  /* Slim header */
  .header-inner{
    padding: 10px 0 !important;
    justify-content: flex-end !important;
  }

  /* Make nav container predictable */
  .nav{
    width: 100% !important;
    justify-content: flex-end !important;
  }

  /* Force links to be visible IN the header (not absolute dropdown) */
  .nav-links{
    display: flex !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    animation: none !important;

    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
  }

  .nav-link,
  .nav-links a{
    display:block !important;
    color: rgba(0,0,0,.78) !important; /* Dark gray like desktop */
    font-weight: 600 !important;
    padding: 2px 0 !important;
  }

  /* Current page in Nigerian green */
  .nav-link[aria-current="page"],
  .nav-links a[aria-current="page"]{
    color: #008651 !important; /* Nigerian green */
  }

  /* Remove any mobile menu controls */
  .menu-btn,
  .menu-toggle,
  .burger,
  .burger-btn,
  .overlay-nav,
  #nav-toggle,
  #menu-toggle{
    display:none !important;
  }
}


/* Mobile landing-page navigation cue (keeps entire page clickable) */
@media (max-width: 768px) {
  .home .landing-link::after {
    content: "+";
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    right: calc(env(safe-area-inset-right, 0px) + 18px);
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    color: #ff2fb3; /* bright highlight pink */
    opacity: 0.95;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
  }
}

/* Desktop landing-page navigation cue (landing page only) */
@media (min-width: 769px) {
  .home .landing-link::after {
    content: "+";
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 14px);    right: calc(env(safe-area-inset-right, 0px) + 22px);
    font-weight: 900;
    font-size: 77px; /* ~0.8x of prior */
    line-height: 1;
    color: #ff2fb3; /* bright highlight pink */
    opacity: 0.98;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  }

  .home .landing-link:hover::after {
    opacity: 1;
  }
}

