/* Prime Path Insurance Partners — shared styles */

:root {
  --bg: #000000;
  --bg-alt: #0c0d10;
  --bg-card: #17181c;
  --border: #26282e;
  --text: #f5f7fa;
  --text-muted: #a6acb8;
  --accent: #6195ce;
  --accent-hover: #7ea7d8;
  --accent-strong: #004f98;
  --accent-strong-hover: #0862b5;
  --gray-brand: #e3e2e1;
  --radius: 10px;
  --max-width: 1160px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --font-display: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.2px;
  min-width: 0;
}

.brand-mark {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text .brand-sub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent-strong);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-strong-hover);
  box-shadow: 0 8px 20px rgba(0, 79, 152, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}

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

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 79, 152, 0.28), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(97, 149, 206, 0.12), transparent 40%);
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 780px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--accent);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 32px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

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

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

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(97, 149, 206, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Team ---------- */

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
}

.team-info {
  padding: 22px 18px 26px;
}

.team-info h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.team-info p.bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num::before {
  content: counter(step);
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, #0d1a2b, #050709);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 79, 152, 0.35), transparent 50%);
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Info list ---------- */

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .info-icon {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Calendly placeholder ---------- */

.calendly-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}

.calendly-placeholder strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

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

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid ul a:hover {
  color: var(--accent);
}

.footer-grid p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-legal p {
  margin: 0 0 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  padding: 64px 0 48px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(0, 79, 152, 0.25), transparent 55%);
}

.page-header .eyebrow {
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.page-header p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Two column layout ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.two-col.reverse .two-col-media {
  order: 2;
}

.two-col-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

.two-col-media:has(img) {
  padding: 0;
}

.two-col-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 18px;
}

.two-col p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

/* ---------- Brand lockup (vector logo) ---------- */

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.brand-word {
  height: 20px;
  width: auto;
}

.brand-lockup .brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 3.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 220px;
  height: auto;
}

/* ---------- Placeholder markers (remove once real copy is in) ---------- */

.ph {
  background: rgba(97, 149, 206, 0.12);
  border: 1px dashed rgba(97, 149, 206, 0.6);
  border-radius: 4px;
  padding: 0 5px;
  color: var(--accent-hover);
}

.ph[data-q]::before {
  content: attr(data-q);
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: var(--accent-strong);
  border-radius: 3px;
  padding: 1px 4px;
  margin-right: 5px;
  vertical-align: 1px;
}

p.ph,
div.ph {
  display: block;
  padding: 10px 12px;
}

/* ---------- About: story + fact card ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.story-grid h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 800;
}

.story-grid p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.pull-quote {
  border-left: 3px solid var(--accent-strong);
  padding: 6px 0 6px 20px;
  margin: 28px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.fact-card > img {
  width: 180px;
  margin: 0 auto 24px;
}

.fact-card dl {
  margin: 0;
}

.fact-card dt {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
}

.fact-card dd {
  margin: 4px 0 0;
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.fact-card dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ---------- Founders ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.founder-photo {
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.35), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), #050608);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.founder-photo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

.founder-photo .initials {
  align-self: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px dashed rgba(97, 149, 206, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
}

.founder-photo .initials small {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.founder-body {
  padding: 28px 30px 32px;
}

.founder-body h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.founder-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.founder-body p {
  color: var(--text-muted);
  margin: 0 0 14px;
  font-size: 0.97rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.chips li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-strong), var(--border));
}

.timeline li {
  position: relative;
  padding: 0 0 34px 56px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-sizing: border-box;
}

.timeline .t-year {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.timeline h3 {
  margin: 4px 0 6px;
  font-size: 1.1rem;
}

.timeline p {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Team: leadership row ---------- */

.leader-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.leader-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.leader-card:hover {
  border-color: var(--accent);
}

.leader-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.45), var(--bg-alt));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.leader-card h3 {
  margin: 0 0 2px;
}

.leader-card .team-role {
  margin-bottom: 0;
}

.leader-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.team-card.is-open .team-photo {
  border-bottom: 1px dashed rgba(97, 149, 206, 0.5);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Photo caption ---------- */

.two-col-media.has-caption {
  position: relative;
}

.media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
}

.media-caption strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.media-caption span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Utilities ---------- */

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .two-col-media { order: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }
  .brand-word {
    height: 16px;
  }
  .brand-lockup .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 2.4px;
  }
  .story-grid,
  .founders,
  .leader-row {
    grid-template-columns: 1fr;
  }
  .fact-card {
    position: static;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 14px 16px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    height: 32px;
  }
  .brand-word {
    height: 13px;
    max-width: none;
  }
  .brand-lockup .brand-sub {
    font-size: 0.48rem;
    letter-spacing: 2px;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn-primary {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Seasonal enrollment banner ---------- */

.season-banner {
  background: linear-gradient(90deg, rgba(0, 79, 152, 0.35), rgba(0, 79, 152, 0.12));
  border-bottom: 1px solid rgba(97, 149, 206, 0.35);
}

.season-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.season-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent-strong);
  border-radius: 999px;
  padding: 5px 12px;
}

.season-inner p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.season-inner p strong {
  color: var(--text);
}

.season-inner .btn {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .season-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .season-inner p {
    flex-basis: 100%;
    order: 2;
  }
  .season-inner .btn {
    order: 3;
  }
}

/* ---------- Partner feature (Enroll Here) ---------- */

.partner-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.partner-logo-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.partner-logo-panel img {
  width: 100%;
  max-width: 320px;
}

.partner-logo-panel span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.partner-feature h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 800;
}

.partner-feature p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.partner-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.partner-facts div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.partner-facts strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.partner-facts span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.fine-print {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.6;
}

.container > .fine-print {
  max-width: 720px;
  margin: 28px auto 0;
}

/* Partner band on Home */

.partner-band {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-band .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.partner-band img {
  width: 170px;
  flex-shrink: 0;
}

.partner-band p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
}

.partner-band p strong {
  color: var(--text);
}

/* Steps in two columns */

.steps-2col {
  grid-template-columns: repeat(2, 1fr);
}

.step-note {
  border-style: dashed;
  border-color: rgba(97, 149, 206, 0.5);
  background: transparent;
}

@media (max-width: 900px) {
  .partner-feature,
  .steps-2col {
    grid-template-columns: 1fr;
  }
  .partner-facts {
    grid-template-columns: 1fr;
  }
  .partner-band .container {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

/* ---------- Portrait treatment (lit backdrop so cutout photos blend in) ---------- */

.portrait {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 52% at 50% 36%, rgba(97, 149, 206, 0.42), rgba(0, 79, 152, 0.2) 45%, transparent 75%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(0, 79, 152, 0.25), transparent 70%),
    linear-gradient(180deg, #0c1826 0%, #060a10 100%);
}

.portrait::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 6%;
  height: 72%;
  background: url("../images/logo-icon.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.portrait img {
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(-3px 0 8px rgba(97, 149, 206, 0.24))
    drop-shadow(3px 0 8px rgba(97, 149, 206, 0.16))
    drop-shadow(0 24px 36px rgba(0, 0, 0, 0.6))
    contrast(1.05)
    saturate(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.portrait .initials {
  position: relative;
  z-index: 1;
}

/* ---------- Agent ecosystem tiles ---------- */

.eco-card {
  position: relative;
  display: block;
  background: linear-gradient(160deg, var(--bg-card), #0d1119);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.eco-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.eco-card:hover {
  border-color: rgba(97, 149, 206, 0.6);
  transform: translateY(-2px);
}

.eco-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(97, 149, 206, 0.35);
  line-height: 1;
  margin-bottom: 16px;
}

.eco-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.eco-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.eco-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- Photo blend (event photos on the dark theme) ---------- */

.photo-blend {
  position: relative;
  aspect-ratio: 5 / 4;
  border-color: transparent;
  background: var(--bg-alt);
}

.photo-blend img {
  object-position: 50% 70%;
  filter: brightness(0.82) contrast(1.06) saturate(0.88);
}

.photo-blend::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 79, 152, 0.28), rgba(0, 40, 90, 0.12) 45%, rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.photo-blend::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 80% at 50% 50%, transparent 55%, rgba(var(--blend-rgb), 0.9) 100%),
    linear-gradient(180deg, rgba(var(--blend-rgb), 0.55) 0%, transparent 22%, transparent 70%, rgba(var(--blend-rgb), 0.85) 100%);
}

.photo-blend {
  --blend-rgb: 0, 0, 0;
  margin: 0;
}

.section-alt .photo-blend {
  --blend-rgb: 12, 13, 16;
}

.photo-blend-wide {
  aspect-ratio: 3 / 2;
}

.photo-blend-wide img {
  object-position: 50% 50%;
  filter: brightness(0.95) contrast(1.05);
}

.photo-blend figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
}

.two-col.media-left {
  grid-template-columns: 0.9fr 1.1fr;
}

.two-col.media-left .two-col-media {
  order: -1;
}

@media (max-width: 900px) {
  .two-col.media-left {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer partner line ---------- */

.footer-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.footer-partner span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-partner img {
  height: 30px;
  width: auto;
  opacity: 0.9;
}

.partner-facts-4 {
  grid-template-columns: repeat(2, 1fr);
}

.partner-facts-4 strong {
  font-size: 1.1rem;
}

.partner-logo-panel img[src*="jar"] {
  max-width: 220px;
}

/* Footer partner line, larger and legible */
.footer-partner {
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-partner span:first-child {
  flex-basis: 100%;
}

.footer-partner img {
  height: 48px;
  opacity: 1;
}

.footer-partner .footer-partner-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--text);
}

/* ---------- Advantage band (Careers) ---------- */

.advantage-band {
  padding: 36px 0 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 79, 152, 0.18), rgba(0, 79, 152, 0.04));
  text-align: center;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-grid div {
  padding: 0 12px;
  border-left: 1px solid var(--border);
}

.advantage-grid div:first-child {
  border-left: none;
}

.advantage-grid strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}

.advantage-grid span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Product lines (Careers) ---------- */

.product-lines {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.product-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}

.product-line strong {
  color: var(--accent);
  font-size: 0.92rem;
}

.product-line span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-line.flagship {
  border-color: rgba(97, 149, 206, 0.55);
  background: linear-gradient(90deg, rgba(0, 79, 152, 0.25), var(--bg-card));
}

.product-line.flagship strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantage-grid div:nth-child(3) {
    border-left: none;
  }
  .product-line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Home hero (name + tagline) ---------- */

.hero h1 span {
  display: block;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
  margin: 0 0 18px;
}

.section-foot {
  text-align: center;
  margin-top: 40px;
}

a.eco-card h3 {
  color: var(--text);
}

/* ---------- Short home page (single hero screen) ---------- */

.home-hero {
  position: relative;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.78) 60%, #000000 100%),
    radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.35), transparent 60%),
    url("../images/conference-2025.jpg") center 40% / cover no-repeat;
  text-align: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo-icon.png") center 45% / min(520px, 70vw) no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  max-width: 860px;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.home-hero h1 span {
  display: block;
  color: var(--accent);
}

.home-partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  margin-bottom: 26px;
}

.home-partner span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-partner img {
  height: 28px;
  width: auto;
}

.home-partner strong {
  font-size: 0.95rem;
  color: var(--text);
}

.home-tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

.home-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
}

.home-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .home-partner {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 14px;
  }
  .home-partner span {
    flex-basis: 100%;
  }
  .home-actions .btn {
    width: 100%;
  }
}

/* ---------- Typography: Montserrat display + Inter body ---------- */

h1, h2, h3, h4,
.stat-num,
.eco-num,
.advantage-grid strong,
.partner-facts strong,
.home-tagline,
.hero-tagline,
.btn {
  font-family: var(--font-display);
}

h1, h2 {
  letter-spacing: -0.015em;
}

.home-hero h1,
.hero h1,
.page-header h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head h2,
.cta-banner h2,
.story-grid h2,
.partner-feature h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.two-col h2 {
  font-weight: 700;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.005em;
}

.btn {
  font-weight: 600;
  letter-spacing: 0.1px;
}

.eyebrow {
  font-family: Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.home-tagline {
  font-weight: 600;
  letter-spacing: -0.005em;
}

.home-lead,
.lead,
.section-head p,
.page-header p {
  line-height: 1.7;
}

.home-partner img {
  height: 38px;
}

.footer-partner img {
  height: 54px;
}

/* Header spacing with the wider display font */
.nav {
  gap: 24px;
}

.nav-links {
  gap: 24px;
}

.nav-cta .btn {
  padding: 10px 18px;
  font-size: 0.88rem;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.88rem;
  }
}

/* ---------- Inner-page hero (same format as the home hero) ---------- */

.page-hero {
  position: relative;
  padding: 96px 0 88px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 79, 152, 0.32), transparent 60%),
    linear-gradient(180deg, #050a12 0%, #000000 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero.has-photo {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 65%, #000000 100%),
    radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.35), transparent 60%),
    var(--hero-img) center 40% / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo-icon.png") center 50% / min(420px, 60vw) no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.04;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.page-hero h1 span {
  color: var(--accent);
}

.page-hero.has-photo {
  background: #000000;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.8) 65%, #000000 100%),
    radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.35), transparent 60%);
}

/* ---------- Tabs ---------- */

.tabs {
  scroll-margin-top: 100px;
}

.tab-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 40px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
}

.tab {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  background: var(--accent-strong);
  color: #ffffff;
}

.tab-panel {
  animation: panelIn 0.25s ease;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.panel-intro {
  text-align: center;
  color: var(--text-muted);
  margin: -12px 0 28px;
}

.panel-title {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.tab-panel .partner-feature p,
.tab-panel .two-col p {
  color: var(--text-muted);
}

.product-lines-wide {
  max-width: 820px;
  margin: 0 auto;
}

.product-lines-wide .product-line {
  grid-template-columns: 150px 1fr;
}

.tab-panel .fine-print.text-center {
  max-width: 720px;
  margin: 24px auto 0;
}

@media (max-width: 700px) {
  .tab-list {
    border-radius: 16px;
    width: 100%;
  }
  .tab {
    flex: 1 1 30%;
    padding: 10px 8px;
    font-size: 0.82rem;
  }
}

/* ---------- Expandable bio ---------- */

.bio-more summary {
  cursor: pointer;
  list-style: none;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 4px;
}

.bio-more summary::-webkit-details-marker {
  display: none;
}

.bio-more summary::after {
  content: " +";
}

.bio-more[open] summary::after {
  content: " −";
}

.bio-more[open] summary {
  margin-bottom: 12px;
}

/* ---------- Home hero slideshow (4 photos, crossfade + slow zoom) ---------- */

.home-hero {
  background: #000000;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  animation: heroFade 28s infinite;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) { animation-delay: -1.5s; }
.hero-slide:nth-child(2) { animation-delay: 5.5s; }
.hero-slide:nth-child(3) { animation-delay: 12.5s; }
.hero-slide:nth-child(4) { animation-delay: 19.5s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Darken and tint every slide so the text always reads */
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.78) 60%, #000000 100%),
    radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.35), transparent 60%);
}

.home-hero::before {
  z-index: 1;
}

.home-hero-inner {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }
  .hero-slide:first-child {
    opacity: 1;
  }
}

/* Slideshow retuned for 5 photos: 35s cycle, 7s each */
.hero-slide {
  animation: heroFade5 35s infinite;
}

.hero-slide:nth-child(1) { animation-delay: -1.4s; }
.hero-slide:nth-child(2) { animation-delay: 5.6s; }
.hero-slide:nth-child(3) { animation-delay: 12.6s; }
.hero-slide:nth-child(4) { animation-delay: 19.6s; }
.hero-slide:nth-child(5) { animation-delay: 26.6s; }

@keyframes heroFade5 {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }
}

/* ---------- Sharper hero titles: Archivo Expanded, bold ---------- */

.home-hero h1,
.page-hero h1 {
  font-family: Archivo, var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-rendering: geometricPrecision;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.home-hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4rem);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
}

.home-hero-inner {
  max-width: 1120px;
}

.home-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
}

@media (min-width: 901px) {
  .home-hero h1 span {
    white-space: nowrap;
  }
}

/* More breathing room in the hero titles */
.home-hero h1,
.page-hero h1 {
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.home-hero h1 {
  margin-bottom: 32px;
}

.home-hero h1 span {
  margin-top: 6px;
}

.page-hero h1 {
  margin-bottom: 24px;
}

.home-partner {
  margin-bottom: 32px;
}

.home-tagline {
  margin-bottom: 20px;
}

.home-lead {
  margin-bottom: 38px;
}

/* Home hero title = the real logo lettering */
.home-hero h1.hero-logo {
  margin: 0 auto 36px;
  line-height: 0;
  text-shadow: none;
}

.hero-logo img {
  width: min(820px, 92vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.hero-logo img {
  width: min(600px, 84vw);
}

.home-hero h1.hero-logo {
  margin-bottom: 32px;
}

.hero-logo img {
  width: min(440px, 72vw);
}

.home-hero h1.hero-logo {
  margin-bottom: 28px;
}

/* ---------- Tap-to-reveal product cards (Services) ---------- */

.reveal-card {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  align-self: start;
}

.reveal-card:hover,
.reveal-card[open] {
  border-color: rgba(97, 149, 206, 0.6);
}

.reveal-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding-right: 28px;
}

.reveal-card summary::-webkit-details-marker {
  display: none;
}

.reveal-card summary .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.reveal-card summary h3 {
  margin: 0;
}

.reveal-card summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.reveal-card[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.reveal-card > p {
  margin-top: 16px;
  animation: panelIn 0.2s ease;
}

.reveal-card.card {
  padding: 22px 24px;
}

/* ---------- Event gallery + lightbox ---------- */

.gallery-title {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 48px 0 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.gallery-item.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: panelIn 0.2s ease;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }
}

.reveal-card summary {
  min-height: 58px;
}

/* 7 system cards, centered rows (4 + 3 on desktop) */
.systems-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.systems-grid .eco-card {
  flex: 0 1 calc(25% - 15px);
  min-width: 220px;
}

.gallery-title-top {
  margin-top: 0;
}

@media (max-width: 700px) {
  .systems-grid .eco-card {
    flex-basis: 100%;
  }
}

/* =========================================================
   Brock-style page components (Services, Systems, Events,
   Team, Resources)
   ========================================================= */

/* Tag chips */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.tag-list li {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
}

/* Services: lines of business grid */
.line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.line-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-card), #0d1119);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.line-card:hover {
  border-color: rgba(97, 149, 206, 0.6);
  transform: translateY(-2px);
}

.line-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--text);
}

.line-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.line-card .eco-link {
  margin-top: auto;
}

.line-card.flagship {
  border-color: rgba(97, 149, 206, 0.55);
  background: linear-gradient(160deg, rgba(0, 79, 152, 0.3), var(--bg-card));
}

.line-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent-strong);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

/* Services: deep-dive rows */
.deep-dive {
  scroll-margin-top: 90px;
}

.deep-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.deep-grid h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 800;
}

.deep-grid > div > p {
  color: var(--text-muted);
  margin: 0;
}

.deep-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deep-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 8px;
}

.deep-box h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}

.deep-box .checklist {
  margin: 0 0 14px;
}

.carrier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.9rem;
  color: var(--text);
}

ul.carrier-list.ph {
  display: flex;
  padding: 10px 12px;
}

/* Systems: tool cards */
.tool-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tool-grid .tool-card {
  flex: 0 1 calc(33.333% - 14px);
  min-width: 260px;
}

.tool-card {
  background: linear-gradient(160deg, var(--bg-card), #0d1119);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px 20px;
  position: relative;
  overflow: hidden;
}

.tool-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.tool-card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tool-card .checklist {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.partner-card-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 18px;
}

/* Events: featured event */
.event-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.event-feature h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.event-feature p {
  color: var(--text-muted);
  margin: 0;
}

/* Team: people cards */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.person-card {
  width: 240px;
  text-align: center;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px 24px;
  transition: border-color 0.15s ease;
}

a.person-card:hover {
  border-color: rgba(97, 149, 206, 0.6);
}

.people-lead .person-card {
  width: 300px;
}

.person-photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(0, 79, 152, 0.45), var(--bg-alt));
  border: 2px solid rgba(97, 149, 206, 0.35);
}

.people-lead .person-photo {
  width: 170px;
  height: 170px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  -webkit-mask-image: none;
  mask-image: none;
}

.person-initials {
  align-self: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.person-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--text);
}

.person-role {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.person-card.is-open {
  border-style: dashed;
}

/* Resources */
.pill-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pill-nav a:hover {
  border-color: var(--accent);
  background: rgba(0, 79, 152, 0.25);
}

section[id] {
  scroll-margin-top: 80px;
}

.featured-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.featured-access h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.featured-access p {
  color: var(--text-muted);
}

.featured-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.featured-list .eco-card {
  padding: 20px 22px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
}

.resource-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.resource-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.resource-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0 0 20px;
}

.resource-card > .btn,
.resource-actions {
  margin-top: auto;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .line-grid,
  .deep-grid,
  .deep-cols,
  .event-feature,
  .featured-access {
    grid-template-columns: 1fr;
  }
  .tool-grid .tool-card {
    flex-basis: 100%;
  }
}

/* Header: 6 links + 2 buttons */
.nav-links {
  gap: 22px;
}

/* Placeholder buttons keep their button shape */
.btn.ph {
  padding: 11px 20px;
  background: rgba(0, 79, 152, 0.18);
  border: 1px dashed rgba(97, 149, 206, 0.7);
  color: var(--text);
}

/* Word values in the advantage band stay on one line */
.advantage-grid strong {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  white-space: nowrap;
}

@media (max-width: 500px) {
  .advantage-grid strong {
    white-space: normal;
  }
}

/* ---------- Own bullet style (blue bar, not a checkmark) ---------- */

.point-list,
.checklist {
  list-style: none;
  padding: 0;
}

.point-list li,
.checklist li {
  position: relative;
  display: block;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.point-list li::before,
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.point-list {
  margin: 0 0 14px;
}

/* Services: carrier line + single-box rows */
.carrier-line {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.8;
}

.carrier-line span {
  color: var(--accent);
  font-weight: 600;
}

.deep-cols:has(> .deep-box:only-child) {
  grid-template-columns: 1fr;
  max-width: 460px;
}

/* Systems page: numbered rows */
.system-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.system-row-flip .system-intro {
  order: 2;
}

.system-num {
  display: block;
  font-family: Archivo, var(--font-display);
  font-stretch: 125%;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(97, 149, 206, 0.3);
  margin-bottom: 14px;
}

.system-intro h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 800;
}

.system-intro p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.feature-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.feature-tile .card-icon {
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
  margin: 0;
  flex-shrink: 0;
}

.feature-tile h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.feature-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.feature-tile:last-child:nth-child(odd) {
  grid-column: span 2;
}

.system-panel {
  background: linear-gradient(160deg, var(--bg-card), #0d1119);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 30px 20px;
}

.partner-panel img {
  width: 180px;
  margin-bottom: 22px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .system-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .system-row-flip .system-intro {
    order: 0;
  }
  .feature-tiles {
    grid-template-columns: 1fr;
  }
  .feature-tile:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* Systems: Agent Portal title in logo colors (white PRIME, blue PATH) */
.portal-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.system-intro h2.portal-title {
  margin-bottom: 20px;
}

.portal-title img {
  width: min(360px, 80vw);
  height: auto;
}

.portal-title span {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--accent);
}

.portal-title span::before,
.portal-title span::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

/* "For contracted agents" notes instead of login buttons */
.access-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.access-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

p.access-note {
  margin: 8px 0 0;
}

/* Events: hosted by JAR */
.hosted-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

.hosted-by span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hosted-by img {
  height: 34px;
  width: auto;
}

/* Full photos (with their own background) inside the portrait cards */
.founder-photo.photo-filled {
  align-items: stretch;
}

.founder-photo.photo-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.person-photo img.photo-katina {
  object-position: center 28%;
}

/* Katina: head lined up with Audo's, shown ~14% smaller, fading out above the card bottom */
.founder-photo img.photo-top {
  height: 86%;
  align-self: flex-start;
  margin-top: 0.8%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

/* Spam trap for Netlify Forms: invisible to people */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Live-site only: hide unfinished placeholder items ===== */
.ph { display: none !important; }
.resource-card:has(h3.ph),
.eco-card:has(h3.ph),
.tool-card:has(h3.ph),
.person-card.is-open,
.info-list li:has(.ph),
section:has(.calendly-placeholder) { display: none !important; }
