/* IBMF Research Collective — Version 1 styles
   Palette: navy #0A2540, white, muted gold #C9A227, restrained red #8B3A3A
   Tone: developing research center / professional nonprofit
*/

:root {
  --navy: #0A2540;
  --navy-deep: #06182A;
  --gold: #C9A227;
  --gold-muted: #B08D1F;
  --red: #8B3A3A;
  --off-white: #F7F8FA;
  --text: #1A2332;
  --text-muted: #4A5568;
  --border: #E2E8F0;
  --max: 1120px;
  --narrow: 740px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, .logo-text strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); margin: 0.25em 0 0.4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75em; }
h3 { font-size: 1.25rem; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--narrow); }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 0.95rem; color: var(--navy); }
.logo-text span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-muted); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #F7F8FA 0%, #fff 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-muted);
  margin: 0 0 0.5rem;
}
.tagline {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0.5rem 0 1.25rem;
}
.lead { font-size: 1.125rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-secondary { background: var(--gold); color: var(--navy); }
.btn-secondary:hover { background: var(--gold-muted); color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-large { padding: 0.9rem 1.75rem; font-size: 1.05rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--off-white); }
.definition-quote {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: #FBF8F0;
  font-size: 1.1rem;
}
.definition-quote p { margin: 0; }
.check-list, .research-list { padding-left: 1.25rem; }
.check-list li, .research-list li { margin: 0.4rem 0; }
.chain p {
  margin: 0.35rem 0;
  font-weight: 500;
  color: var(--navy);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.positioning {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: 4px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
}
.note { font-size: 0.95rem; color: var(--text-muted); }

/* Contact form */
.contact-form, .experience-form { margin-top: 1.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--text-muted); font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.form-notice { font-size: 0.9rem; color: var(--text-muted); margin: 1rem 0; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.success { color: #1B5E20; }
.form-status.error { color: var(--red); }

/* Share page */
.page-header { padding: 3rem 0 1.5rem; }
.subtitle { font-size: 1.2rem; color: var(--navy); font-weight: 500; margin-top: -0.5rem; }
.video-placeholder { padding: 0 0 2rem; }
.video-box {
  background: var(--off-white);
  border: 1px dashed #CBD5E1;
  border-radius: 6px;
  padding: 1.5rem;
}
.video-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-muted); font-weight: 600; margin: 0 0 0.5rem; }
.form-section-block {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 0.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
}
.form-section-block legend {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  padding: 0 0.5rem;
}
.story-first { border-color: var(--gold); background: #FBF8F0; }
.or-divider {
  text-align: center;
  margin: 1.75rem 0;
  color: var(--text-muted);
  position: relative;
}
.or-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.or-divider span {
  background: #fff;
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-heading { margin-top: 0; }
.form-intro, .hint { color: var(--text-muted); font-size: 0.95rem; }
.radio-group, .checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem 1rem; }
.radio-group label, .checkbox-grid label {
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  cursor: pointer;
}
.conditional-field { display: none; margin-top: 0.75rem; padding-left: 0.5rem; }
.conditional-field.visible { display: block; }
.important-notice {
  background: #FFF8F0;
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.important-notice h3 { margin-top: 0; color: var(--red); }
.important-notice ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.thank-you {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
}
.thank-you h2 { margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #E2E8F0;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; }
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; }
.footer-brand span { font-size: 0.9rem; opacity: 0.85; }
.footer-tags { margin: 0.75rem 0; font-size: 0.85rem; letter-spacing: 0.03em; opacity: 0.8; }
.footer-links, .footer-social { margin: 0.75rem 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.copyright { font-size: 0.85rem; opacity: 0.7; margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 2.5rem 0; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* Version 1.1 review questionnaire, layered over George's original stylesheet */
.v11-review {border-left:4px solid #b58b32;background:#fbf5e8;padding:18px 20px;margin:0 0 24px;color:#26394a;line-height:1.5}
.v11-intro p{line-height:1.65}.v11-progress{margin:24px 0;color:#173854;font-weight:700;font-size:.93rem}
.v11-step{padding:22px 0 12px}.v11-step[hidden],.v11-question[hidden],.v11-follow[hidden]{display:none!important}
.v11-step h2{font-size:1.55rem;margin:0 0 24px;color:#0a2540}.v11-question{border-top:1px solid #e5e2db;padding:20px 0}
.v11-question-title{font-weight:600;line-height:1.45;margin-bottom:12px;color:#19344a}.v11-question-title strong{color:#ad822a;margin-right:5px}
.v11-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px 15px}
.v11-options label{display:flex;align-items:flex-start;gap:9px;font-size:.96rem;line-height:1.35;cursor:pointer}
.v11-options input{flex:none;margin-top:3px;accent-color:#0a2540;width:17px;height:17px}
.v11-question>input,.v11-question>textarea,.v11-follow input,.v11-benefit-row input,.v11-benefit-row select{width:100%;padding:12px;border:1px solid #b9c4ca;border-radius:5px;background:#fff;color:#142d41;font:inherit}
.v11-question>textarea{min-height:115px;resize:vertical}.v11-help{font-size:.82rem;color:#a33e36;margin-top:8px;line-height:1.45}
.v11-follow{margin-top:14px;padding:12px 15px;background:#f4f6f7;border-radius:5px}.v11-follow label{display:block}
.v11-step-controls{display:flex;gap:12px;justify-content:space-between;margin:26px 0 15px}.v11-step-controls button,.v11-end button,.v11-add{padding:12px 17px;border:1px solid #0a2540;border-radius:5px;background:#0a2540;color:white;font:inherit;cursor:pointer}
.v11-step-controls .v11-back{background:white;color:#0a2540}.v11-step-controls button:disabled{opacity:.4;cursor:default}
.v11-end{margin:20px 0 40px;padding:20px;background:#f5f3ee}.v11-end button:disabled{opacity:.55;cursor:default}
.v11-benefit-row{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;margin-bottom:10px;align-items:center}.v11-benefit-row button{background:none;border:0;cursor:pointer;text-decoration:underline;color:#0a2540}
@media(max-width:550px){.v11-options{grid-template-columns:1fr}.v11-benefit-row{grid-template-columns:1fr 1fr}.v11-benefit-row button{grid-column:span 2}.v11-step h2{font-size:1.3rem}}

/* Founder portrait: preserve aspect ratio and avoid mobile upscaling */
.founder-intro { display: grid; grid-template-columns: minmax(0, 304px) minmax(0, 1fr); align-items: start; gap: 1.5rem; margin: 1.4rem 0 2rem; }
.founder-photo { display: block; width: 100%; max-width: 304px; height: auto; object-fit: contain; border-radius: 5px; }
.founder-intro > div { min-width: 0; }
@media (max-width: 700px) { .founder-intro { grid-template-columns: minmax(0, 1fr); } .founder-photo { width: min(100%, 304px); height: auto; } }

/* Founder page 2026-10-22: crisp, undistorted portrait and legible review banner */
.founder-intro { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.founder-photo { width: 100%; max-width: 360px; height: auto; object-fit: contain; border-radius: 10px; }
.preview-banner { display: block; box-sizing: border-box; width: 100%; padding: 0.65rem max(1rem, calc((100vw - 1100px)/2)); background: #fbf5e8; color: #26394a; border-bottom: 1px solid #e4d7b6; font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; }
@media(max-width:700px) { .founder-intro { grid-template-columns: minmax(0, 1fr); } .founder-photo { width: 100%; max-width: 360px; height: auto; margin: 0 auto; } }

/* Version 1.2 stakeholder-review refinements */
:root { --red:#9d2639; --gold:#bd8c3b; }
.ibmf-header-mark { display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:7px;background:var(--navy);color:#e6bd6d;font-weight:800;font-size:.95rem;letter-spacing:.03em;border-bottom:3px solid var(--red); }
.official-brand-panel { max-width:390px;margin:0 auto 1.8rem; }
.official-brand-panel img { display:block;width:100%;height:auto;object-fit:contain; }
.hero .lead { max-width:850px; }
.hero .btn-row { margin-top:1.5rem; }
.research-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;list-style:none;padding:0; }
.research-list li { padding:1rem 1.15rem;border:1px solid var(--border);border-left:4px solid var(--gold);background:white;border-radius:8px; }
.preview-banner { border-left:5px solid var(--red);font-weight:600; }
.contact-preview-card { background:#f7f8fa;border-left:4px solid var(--gold);border-radius:8px;padding:1.2rem 1.5rem;max-width:720px; }
.review-guidance { background:#f7f8fa; }
.simple-header { padding-top:1.2rem;padding-bottom:1.2rem;border-bottom:1px solid var(--border); }
@media(max-width:700px){.research-list{grid-template-columns:1fr}.official-brand-panel{max-width:260px}.logo-text strong{font-size:.9rem}.logo-text span{font-size:.67rem}.ibmf-header-mark{width:43px;height:43px;flex-basis:43px}}

/* v1.2.1 stakeholder review: collaboration */
.collaboration-section { background: #f7f7f4; }
.collaboration-section .collaboration-independence { border-left: 4px solid #b48b42; padding: 0.7rem 1rem; background: #fff; margin-top: 1.5rem; }
.collaboration-section a { text-underline-offset: 3px; }


/* Version 1.2.2 — approved brand refinements */
.ibmf-header-emblem { width:48px;height:48px;flex:0 0 48px;object-fit:contain;background:#fff;border-radius:8px;border:1px solid #e9e3d7; }
.logo-text > span { display:block;line-height:1.4; }
.logo-text > span .brand-red {color:#98283a;font-weight:700;}
.logo-text > span .brand-navy {color:#0a2540;font-weight:700;}
.logo-text > span .brand-gold {color:#95691e;font-weight:700;}
.research-list li {display:flex;align-items:center;gap:1.1rem;border-left:5px solid #98283a;padding:1.2rem 1.25rem;min-height:132px;}
.research-number {color:#ad7d28;font-family:"Source Serif 4",Georgia,serif;font-size:clamp(3.2rem,6vw,5.2rem);font-weight:600;line-height:1;flex:0 0 auto;font-variant-numeric:tabular-nums;letter-spacing:-.045em;}
.research-question {color:#0a2540;line-height:1.55;min-width:0;}
.v11-step h2:has(.v122-section-number) {display:flex;align-items:center;gap:1rem;border-bottom:3px solid #bd8c3b;padding-bottom:1rem;margin-bottom:1.25rem;}
.v122-section-number {display:inline-flex;align-items:center;justify-content:center;min-width:3.4rem;min-height:3.4rem;background:#fff5f3;border-radius:9px;color:#98283a;font-family:"Source Serif 4",Georgia,serif;font-size:2.25rem;line-height:1;font-weight:700;}
.v122-section-name {color:#0a2540;}
.v11-step h2.v122-section-special {border-left:5px solid #98283a;border-bottom:3px solid #bd8c3b;padding:.5rem .9rem .85rem;}
@media(max-width:700px){.ibmf-header-emblem{width:44px;height:44px;flex-basis:44px}.research-list li{gap:.85rem;min-height:112px;padding:1rem}.research-number{font-size:3.65rem}.logo-text > span{font-size:.64rem}}
@media(max-width:380px){.research-number{font-size:3.05rem}.research-list li{gap:.65rem}.logo-text > span{font-size:.57rem}.ibmf-header-emblem{width:39px;height:39px;flex-basis:39px}}

/* IBMF v1.3.0 — Section A development controls */
.ibmf-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ibmf-two-fields label{font-weight:600;font-size:.95rem}.ibmf-two-fields input,.ibmf-country-select,.ibmf-country-search{width:100%;padding:12px;border:1px solid #b9c4ca;border-radius:5px;background:#fff;color:#142d41;font:inherit}.ibmf-country-results{max-height:185px;overflow:auto;border:1px solid #e2e8f0;border-radius:5px;margin-top:7px}.ibmf-country-results label{display:flex;gap:8px;align-items:center;padding:5px 9px;font-size:.93rem}.ibmf-country-results label:hover{background:#f7f8fa}.ibmf-country-chosen{margin-top:8px;color:#0a2540;font-size:.9rem}.ibmf-exclusive{display:flex;align-items:center;gap:8px;margin-top:12px}.ibmf-country-results:empty{display:none}@media(max-width:550px){.ibmf-two-fields{grid-template-columns:1fr}}

/* v1.2.5.2-dev — questionnaire visual hierarchy */
:root { --ibmf-question-number: #A83B3B; --ibmf-guidance-gold: #916717; }
.v11-question .v11-question-title strong { color: var(--ibmf-question-number); }
.v11-question .v11-help { color: var(--ibmf-guidance-gold); font-weight: 500; }
@media (prefers-contrast: more) { .v11-question .v11-help { color: #76520e; } }

/* Checkpoint 14: consistent questionnaire typography */
.v11-question .v11-question-title {color:#0a2540;font-weight:650;}
.v11-question .v11-question-title strong {color:#a83b3b;font-weight:750;margin-right:.3rem;}
.v11-question .v11-help, .v11-step > .v11-help, .e-agency-record .v11-help {color:#916717;font-weight:550;line-height:1.5;}
.e-agency-record {border:1px solid #d8dce2;border-left:4px solid #bd8c3b;border-radius:8px;padding:1rem;margin:1.25rem 0;}
.e-agency-record h3 {color:#0a2540;}

/* Checkpoint 14 — consistent research questionnaire typography */
.v11-step .v11-question-title { color:#0A2540 !important; font-weight:650; line-height:1.5; }
.v11-step .v11-question-title > strong { color:#A83B3B !important; font-weight:800; margin-right:.35rem; }
.v11-step .v11-help, .v11-step .e-records-guidance { color:#916717 !important; font-weight:550; line-height:1.55; }
.e-records-heading { color:#0A2540; margin-top:1.6rem; border-top:2px solid #BD8C3B; padding-top:1rem; }
.e-agency-record { border-left:3px solid #BD8C3B; padding-left:1rem; margin:1.25rem 0; }
.e-agency-record > h3 { color:#0A2540; }
#e-detail-wrapper[hidden], [hidden] { display:none !important; }

/* Checkpoint 15 — consistent participant-facing questionnaire hierarchy */
.v11-step .v11-question-title { color:#0A2540 !important; font-weight:650; }
.v11-step .v11-question-title > strong { color:#A83B3B !important; font-weight:800; }
.v11-step .v11-help, .v11-step .e-records-guidance { color:#916717 !important; font-weight:550; }
.e-institution-heading { color:#0A2540; border-left:4px solid #A83B3B; padding-left:.75rem; margin-top:1.5rem; }
.e-agency-record .v11-question { margin-bottom:1.25rem; }
.e-agency-record .v11-question > label { display:block; margin:.45rem 0; color:#0A2540; }

/* CP18 research preview: action-specific outcomes and notifications */
.cp18-events label,.cp18-question label{display:block;margin:.4rem 0}.cp18-legal{margin-top:1rem;padding:1rem;border-left:3px solid #ad8941;background:#faf9f6}.cp18-question{margin:.9rem 0}.cp18-repeat{margin:.9rem 0;padding:1rem;border:1px solid #ad8941}.cp18-add-notification{margin:.6rem 0}.cp18-question[hidden]{display:none!important}

/* Checkpoint 20 — D7 accessible behavior group spacing */
.cp20-behavior-group{border:1px solid #d7dce5;border-radius:10px;margin:16px 0;background:#fff;overflow:hidden}
.cp20-behavior-group summary{cursor:pointer;padding:17px 18px;font-weight:700;color:#142c4e;line-height:1.5;list-style-position:inside}
.cp20-behavior-group[open] summary{border-bottom:1px solid #e5e9ef;background:#f8fafc}
.cp20-count{font-size:.85em;font-weight:400;color:#56647a}
.cp20-behavior-options{display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px 16px!important}
.cp20-behavior-options label{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:0!important;padding:12px!important;line-height:1.55!important;border:1px solid #edf0f4;border-radius:8px;cursor:pointer;white-space:normal!important}
.cp20-behavior-options label input{flex:0 0 auto;margin-top:5px!important;width:18px;height:18px}
.cp20-behavior-options label span{display:block;min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.cp20-behavior-group summary{padding:14px}.cp20-behavior-options{padding:8px!important}.cp20-behavior-options label{padding:12px 10px!important}}

/* CP28: subscription experience (preview-only) */
.btn-gold-feature {background:var(--gold);color:var(--navy);border-color:var(--gold);box-shadow:0 3px 10px rgba(10,37,64,.14)}
.btn-gold-feature:hover {background:var(--gold-muted);border-color:var(--gold-muted);color:var(--navy)}
.connect-hero {background:linear-gradient(145deg,#06182A,#0A2540);color:#fff;text-align:center;padding:3.75rem 0}
.connect-hero h1 {color:#fff}.connect-hero .lead {max-width:720px;margin:1rem auto 0;color:#eef2f7}
.connect-hero .eyebrow {color:#e4c85d}.connect-hero img {display:block;max-width:min(360px,85%);max-height:180px;object-fit:contain;margin:0 auto 1.5rem;border-radius:4px}
.connect-card {max-width:760px;margin:-1.5rem auto 0;background:white;border:1px solid var(--border);border-top:5px solid var(--gold);box-shadow:0 12px 35px rgba(10,37,64,.1);padding:clamp(1.25rem,4vw,2.5rem);border-radius:8px;position:relative}
.connect-card h2 {text-align:center}.connect-card .note {text-align:center}.connect-placeholder {background:var(--off-white);border:2px dashed #aab7c7;border-radius:6px;padding:2rem 1.25rem;text-align:center;margin:1.5rem 0}
.connect-placeholder strong {display:block;color:var(--navy);font-size:1.15rem}.connect-placeholder p {max-width:520px;margin:.7rem auto 0}
.connect-actions {display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;margin:1.5rem 0}
.connect-disclaimer {font-size:.95rem;color:var(--text-muted);border-top:1px solid var(--border);padding-top:1rem;margin-top:1.5rem}
.connect-thanks-mark {width:64px;height:64px;border-radius:50%;background:#f6ecd0;color:var(--navy);font-size:2rem;display:grid;place-items:center;margin:0 auto 1rem}
@media(max-width:640px){.connect-hero{padding:2.5rem 0}.connect-card{margin:-.75rem .35rem 0}.btn-row .btn-gold-feature{width:100%;text-align:center}}

/* CP28.1: visual-only action cards and participant-facing heading. */
.cp281-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:30px 0 10px;text-align:left}
.cp281-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:23px 22px;background:#fff;color:#0a2540;text-decoration:none;border:1px solid #d8dce0;border-left:5px solid #8c3043;border-radius:13px;box-shadow:0 5px 20px rgba(0,0,0,.09);transition:transform .18s,box-shadow .18s}
.cp281-card:hover,.cp281-card:focus-visible{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.16)}
.cp281-icon{width:45px;height:45px;border-radius:50%;background:#f6edf0;color:#8c3043;display:grid;place-items:center;font-size:27px;font-weight:700;line-height:1}
.cp281-card-title{font-size:1.18rem;font-weight:800;color:#0a2540;line-height:1.25}
.cp281-card-description{font-size:.94rem;line-height:1.5;color:#405064;flex:1}
.cp281-card-cta{display:inline-flex;align-items:center;gap:8px;margin-top:7px;padding:12px 15px;border-radius:7px;background:#0a2540;color:#fff;font-size:.91rem;font-weight:800;line-height:1.25}
.cp281-card-feature{border-left-color:#bd9339;background:linear-gradient(140deg,#fff9e9,#fff)}
.cp281-card-feature .cp281-icon{background:#f7e7bd;color:#7d5b12}
.cp281-card-feature .cp281-card-cta{background:#d5a842;color:#0a2540}
.cp281-story-subtitle{font-size:1.4rem!important;font-weight:700!important;color:#8c3043!important}
.cp281-story-tagline{font-weight:700;color:#a77a24}
.cp281-story-voice{font-weight:700;color:#0a2540}
@media(max-width:680px){.cp281-actions{grid-template-columns:1fr;gap:12px}.cp281-card{padding:19px}.cp281-card-cta{width:100%;justify-content:center;box-sizing:border-box}}

/* CP27.2: differentiated homepage action cards; preserve CP28.1 layout */
.cp281-card.cp272-research{background:linear-gradient(145deg,#fff,#f0f5f9);border-left-color:#123a5a}
.cp272-research .cp281-icon{background:#e1edf4;color:#123a5a}
.cp281-card.cp272-story{background:linear-gradient(145deg,#73283c,#4e192c);border:1px solid #8e4558;border-left:5px solid #d7ad53;color:#fff}
.cp272-story .cp281-card-title,.cp272-story .cp281-card-description{color:#fff}
.cp272-story .cp281-icon{background:#f4e2b8;color:#682238}
.cp272-story .cp281-card-cta{background:#f3d58e;color:#452033}
.cp281-card.cp272-collab{background:linear-gradient(145deg,#fffdf7,#f8f0e3);border-left-color:#a15a65}
.cp272-collab .cp281-icon{background:#f3e0e3;color:#7d2c43}
.cp272-collab .cp281-card-cta{background:#7b3046;color:#fff}
.cp281-card.cp272-subscribe{background:linear-gradient(145deg,#fff3cc,#f8e3a7);border-left-color:#bb8d2b}
.cp272-subscribe .cp281-icon{background:#e8c46b;color:#142c42}
.cp272-subscribe .cp281-card-cta{background:#d5a842;color:#102c43}
.cp281-card:focus-visible{outline:3px solid #d5a842;outline-offset:3px}

/* Brevo subscription iframe: responsive container */
.brevo-embed{max-width:600px;margin:1.5rem auto;width:100%;overflow:hidden}
.brevo-embed iframe{width:100%;max-width:540px;min-height:850px}

/* CP27.3.0 consolidated styling — retain four distinct card backgrounds */
.cp281-card.cp272-research,
.cp281-card.cp272-story,
.cp281-card.cp272-collab,
.cp281-card.cp272-subscribe {border-left-color:#142B49;}
.cp281-card.cp272-research .cp281-card-cta,
.cp281-card.cp272-story .cp281-card-cta,
.cp281-card.cp272-collab .cp281-card-cta {background:#142B49;color:#fff;}
.cp281-card.cp272-subscribe .cp281-card-cta {background:#d5a842;color:#102c43;}
/* Give the Brevo iframe as much mobile width as possible without clipping. */
.brevo-embed {width:100%;max-width:620px;margin:1rem auto;overflow:visible;}
.brevo-embed iframe {display:block;width:100%;max-width:620px;min-height:780px;border:0;}
@media(max-width:680px){
 .connect-card {padding-left:12px;padding-right:12px;}
 .brevo-embed {width:100%;max-width:none;margin:12px auto;}
 .brevo-embed iframe {width:100%;max-width:none;min-height:800px;}
}

/* CP27.4.0 homepage CTA refinements */
.cp274-story .cp281-card-cta { background:#C49B43 !important; color:#142B49 !important; border-color:#C49B43 !important; }
.cp274-subscribe .cp281-card-cta { background:#142B49 !important; color:#fff !important; border-color:#142B49 !important; }

/* Coordinated website review changes — Nov 2026 */
.ibmf-wide-brand-panel{width:100%;max-width:none;margin:0 auto 1.5rem;}
.ibmf-wide-brand-panel img{display:block;width:100%;height:auto;max-width:none;object-fit:contain;}
.ibmf-research-question{color:#800020;font-weight:700;}
.ibmf-initiative-name{color:#122b50;font-weight:700;}
.ibmf-founder-closing{text-align:center;color:#122b50;font-weight:700;letter-spacing:.01em;margin:2rem auto;}
.connect-hero .container:after{content:"";display:block;width:76px;height:4px;background:#800020;border-radius:4px;margin:1.3rem auto 0;}
@media(max-width:600px){.ibmf-wide-brand-panel{margin-bottom:1rem;}.ibmf-founder-closing{line-height:1.5;}}


/* CP27.x photographic action cards — responsive HTML, not flattened buttons */
.cp281-actions{grid-template-columns:1fr;gap:22px;max-width:1100px;margin-left:auto;margin-right:auto}
.cp281-card,.cp281-card.cp272-story{position:relative;overflow:hidden;padding:0;background:#fff;color:#0a2540;border-left:6px solid #122c4b;gap:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;box-sizing:border-box}
.cp281-card.cp272-story{border-left-color:#7a1734}
.cp281-card .ibmf-card-photo{grid-column:1/-1;width:100%;height:clamp(140px,19vw,235px);object-fit:cover;object-position:center;display:block}
.cp281-card .cp281-icon{grid-column:1;grid-row:2;margin:18px 0 0 22px}
.cp281-card .cp281-card-title{grid-column:1;grid-row:3;margin:8px 18px 0 22px;font-size:1.35rem;color:#102b4c}
.cp281-card .cp281-card-description{grid-column:1;grid-row:4;margin:4px 18px 22px 22px;color:#405064}
.cp281-card .cp281-card-cta{grid-column:2;grid-row:2/5;margin:16px 22px;white-space:nowrap;justify-content:center;background:#102b4c;color:#fff}
.cp281-card.cp272-story .cp281-card-title{color:#7a1734}
.cp281-card.cp272-story .cp281-card-description{color:#405064}
.cp281-card.cp272-story .cp281-card-cta{background:#102b4c;color:#fff}
.cp281-card.cp281-card-feature .cp281-card-cta{background:#d5a842;color:#102b4c}
@media(max-width:680px){.cp281-actions{gap:16px}.cp281-card .ibmf-card-photo{height:clamp(115px,32vw,190px)}.cp281-card .cp281-icon{margin:15px 0 0 17px}.cp281-card .cp281-card-title{margin:8px 16px 0;font-size:1.2rem}.cp281-card .cp281-card-description{margin:5px 16px 12px}.cp281-card .cp281-card-cta{grid-column:1/-1;grid-row:5;margin:0 16px 16px;white-space:normal;width:auto}}

/* CP27.x review refinements — official supplied logo; presentation only */
.connect-hero .ibmf-connect-hero-inner>img{display:block;width:min(620px,95%);max-width:95%;max-height:none;height:auto;object-fit:contain;margin:0 auto 1.55rem;border-radius:8px;background:#fff}
.connect-hero .ibmf-connect-hero-inner::before{content:"";display:block;position:relative;top:0;width:150px;height:4px;background:#850d2a;border-radius:5px;margin:0 auto 1.25rem;order:2}
.connect-hero .ibmf-connect-hero-inner{display:flex;flex-direction:column;align-items:center}
.connect-hero .ibmf-connect-hero-inner>img{order:1}.connect-hero .ibmf-connect-hero-inner>h1{order:3;font-size:clamp(2.25rem,5.5vw,3.65rem);color:#fff;margin:.1rem auto .6rem}
.connect-hero .ibmf-connect-hero-inner>.lead{order:4;color:#fff;line-height:1.55;margin:.6rem auto 0}
.connect-hero .ibmf-connect-hero-inner::after{content:"";display:block;order:5;width:150px;height:4px;background:#850d2a;border-radius:5px;margin:1.6rem auto 0}
/* Privacy notice: remove oversized duplicate draft headline, retain substantive warning */
.ibmf-policy-main{background:#faf8f3;padding-bottom:3rem}
.ibmf-policy-hero{background:linear-gradient(135deg,#06182a,#0a2540);padding:2.6rem 0 2.9rem;color:#fff}
.ibmf-policy-hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.8rem}
.ibmf-policy-logo{display:block;width:min(620px,96%);height:auto;background:#fff;border-radius:8px}
.ibmf-policy-accent{width:150px;height:4px;background:#850d2a;border-radius:6px}
.ibmf-policy-hero h1{font-size:clamp(2.2rem,6vw,3.5rem);color:#fff;margin:0}
.ibmf-policy-subtitle{color:#fff;margin:0;line-height:1.5}
.ibmf-policy-content{max-width:850px;padding-top:1.7rem;padding-bottom:2.5rem;font-size:1rem}
.ibmf-policy-content h2{font-size:clamp(1.4rem,3.5vw,1.85rem);color:#850d2a;margin:1.85rem 0 .65rem}
.ibmf-policy-content p,.ibmf-policy-content li{line-height:1.65;overflow-wrap:anywhere}
.ibmf-policy-content a{overflow-wrap:anywhere}
.ibmf-policy-content .ibmf-policy-warning{padding:.85rem 1rem;margin-bottom:1rem;background:#fff4db;color:#422d00;border-left:5px solid #850d2a;border-radius:4px;font-weight:650;font-size:.95rem}
.ibmf-policy-meta{background:#fff;border:1px solid #e4ded4;border-radius:8px;padding:.8rem 1rem;font-size:.88rem;color:#343b46}
.ibmf-policy-content table{width:100%;border-collapse:collapse}.ibmf-policy-content td,.ibmf-policy-content th{padding:.7rem;border:1px solid #d6dbe2;text-align:left}
/* Collaboration invitation: image + live selectable text/email */
.ibmf-collab-wrap{max-width:960px}.ibmf-collab-panel{overflow:hidden;border:1px solid #d8c6a0;border-radius:14px;box-shadow:0 12px 30px rgba(6,24,42,.08);background:#fffdf8}
.ibmf-collab-top{background:linear-gradient(130deg,#06182a,#0a2540);text-align:center;padding:2rem 1.2rem 1.7rem}
.ibmf-collab-logo{display:block;width:min(620px,96%);height:auto;margin:0 auto 1.3rem;background:#fff;border-radius:8px}
.ibmf-collab-top h2{color:#fff;font-size:clamp(2rem,5vw,3rem);margin:0}.ibmf-collab-top h2:before{content:"";display:block;width:150px;height:4px;background:#850d2a;margin:0 auto 1rem;border-radius:6px}
.ibmf-collab-body{padding:clamp(1.3rem,4vw,2.5rem);text-align:center;color:#16283e}.ibmf-collab-body p{max-width:770px;margin:0 auto 1.25rem;line-height:1.65}
.ibmf-collab-invite{font-weight:700;color:#850d2a;font-size:1.25rem}
.ibmf-collab-email{display:inline-block;max-width:100%;overflow-wrap:anywhere;background:#0a2540;color:#fff;border:2px solid #c9a227;border-radius:12px;padding:.75rem 1.2rem;font-weight:700;text-decoration:none}
.ibmf-collab-email:hover,.ibmf-collab-email:focus{color:#fff;background:#850d2a}
.ibmf-collab-fallback{font-size:.86rem;margin-top:1.1rem!important;color:#48576a}
/* Story header: use official logo without changing questionnaire operation */
.ibmf-story-header-inner{text-align:center}.ibmf-story-wide-logo{display:block;width:min(620px,100%);height:auto;margin:0 auto 1.4rem;background:#fff;border-radius:8px}
@media(max-width:640px){.ibmf-policy-hero{padding:1.8rem 0 2rem}.ibmf-policy-content{padding-top:1rem}.ibmf-collab-top{padding:1.25rem .8rem}.ibmf-collab-body{padding:1.25rem}.connect-hero .ibmf-connect-hero-inner>h1{font-size:2.3rem}}

/* Version 28.1 approved refinements */
.ibmf-policy-content .ibmf-policy-warning{color:#091E34!important;background:#fff4db;border-left:5px solid #850d2a;}
.ibmf-policy-content .ibmf-gold-initiative{color:#B58A35;font-weight:800;}
.ibmf-collab-body{text-align:left;font-size:1rem;}
.ibmf-collab-body p{max-width:770px;margin:0 auto 1rem;line-height:1.6;}
.ibmf-collab-body .ibmf-collab-invite{text-align:center;font-size:1.12rem;margin-top:1.25rem;}
.ibmf-collab-email{display:table;margin:.5rem auto 0;text-align:center;overflow-wrap:normal;}
@media(max-width:640px){.ibmf-collab-body{padding:1.1rem 1.15rem;font-size:.98rem}.ibmf-collab-body p{margin-bottom:.9rem}.ibmf-collab-body .ibmf-collab-invite{font-size:1.08rem}.ibmf-collab-email{font-size:.95rem;padding:.72rem 1rem;}}

/* IBMF 28.3 checkpoint: answer review (staging-only) */

.v11-end .ibmf-end-previous,.v11-end .ibmf-end-review,.v11-end .ibmf-end-submit{margin:.4rem;padding:.75rem 1.1rem;border-radius:7px;}

.ibmf-answer-review{max-width:850px;margin:2rem auto;padding:1.5rem;border:1px solid #c9c6c0;border-radius:12px;}
.ibmf-review-group{border:1px solid #d6d1c7;border-radius:8px;margin:12px 0;padding:12px;}
.ibmf-review-group summary{cursor:pointer;font-weight:700;color:#091e34;}
.ibmf-review-answer{padding:10px 0;border-bottom:1px solid #eee;}
.ibmf-review-answer p{margin:4px 0 0;overflow-wrap:anywhere;}
.ibmf-other-followup{margin:12px 0;padding:10px;border-left:3px solid #b58a35;}
/* Checkpoint 23 country search enhancement: retain native select for form state and accessibility fallback. */

