/* === Home-specific styles === */
.hero-home { padding: 96px 0 110px; }

.hero-home .hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,31,58,0) 55%, rgba(15,31,58,0.55) 100%);
  pointer-events: none;
}
.hero-portrait-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  max-width: 280px;
}
.hero-portrait-badge .b-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--light-peach); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-portrait-badge strong { display: block; font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--dark-blue); font-weight: 700; }
.hero-portrait-badge span { font-size: 12px; color: var(--text-muted); }

.hero-shield-card-legacy {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.hero-shield-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-shield-card-head img { width: 44px; height: 44px; }

.hero-shield-card-head h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.hero-shield-card-head p {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  color: var(--light-orange);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-stack-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
}
.hero-stack-row:last-child { border-bottom: none; }
.hero-stack-row .label { color: rgba(255,255,255,0.6); }
.hero-stack-row .val {
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

@media (max-width: 900px) {
  .hero-home .hero-grid { grid-template-columns: 1fr; }
}

/* Pillars */
.pillar {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.pillar:hover { box-shadow: var(--navy-shadow); transform: translateY(-3px); }

.pillar-num {
  font-family: 'Source Code Pro', monospace;
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--site-blue);
}

.pillar h3 { font-size: 20px; margin-bottom: 12px; }
.pillar p { font-size: 15px; color: var(--text-gray); margin-bottom: 18px; }
.pillar a.learn {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--site-blue);
  letter-spacing: 0.3px;
}

/* Value props with photo */
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.why-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--navy-shadow);
  position: relative;
}
.why-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.why-photo-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(10,35,100,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.why-photo-badge .badge-icon {
  width: 40px; height: 40px;
  background: var(--light-peach);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.why-photo-badge .badge-txt strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  color: var(--dark-blue);
  font-size: 14px;
  line-height: 1.35;
}
.why-photo-badge .badge-txt span { display: block; font-size: 12px; line-height: 1.4; color: var(--text-muted); }

.why-list { list-style: none; }
.why-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--card-border);
}
.why-list li:last-child { border-bottom: none; }
.why-list .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light-peach);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-top: 2px;
}
.why-list h4 { font-size: 16px; margin-bottom: 4px; color: var(--dark-blue); }
.why-list p { font-size: 14px; color: var(--text-gray); margin: 0; }

@media (max-width: 900px) {
  .why-wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Feature strip / proof */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.proof-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
}
.proof-item .big {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--light-orange);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}
.proof-item .t { color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.45; }

@media (max-width: 900px) { .proof-strip { grid-template-columns: 1fr 1fr; } }

/* Research teasers */
.research-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rt-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.rt-card:hover { box-shadow: var(--navy-shadow); transform: translateY(-2px); }
.rt-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--dark-blue), var(--site-blue));
  position: relative;
  overflow: hidden;
}
.rt-thumb.orange { background: linear-gradient(135deg, var(--orange), #d46b14); }
.rt-thumb.blue-light { background: linear-gradient(135deg, var(--button-blue), var(--site-blue)); }
.rt-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.rt-thumb-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.3);
  color: var(--white);
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 1;
}
.rt-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.rt-body h4 { font-size: 18px; margin-bottom: 10px; line-height: 1.3; }
.rt-body p { font-size: 14px; color: var(--text-gray); flex: 1; margin-bottom: 14px; }
.rt-meta { font-size: 12px; color: var(--text-muted); font-family: 'Source Code Pro', monospace; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 900px) { .research-teaser { grid-template-columns: 1fr; } }

/* Testimonial */
.testimonial {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  padding: 44px 48px;
}
.testimonial blockquote {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  color: var(--dark-blue);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.testimonial blockquote::before { content: '"'; color: var(--orange); margin-right: 4px; }
.testimonial blockquote::after { content: '"'; color: var(--orange); margin-left: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--site-blue), var(--dark-blue));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.testimonial-meta strong {
  display: block;
  color: var(--dark-blue);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
}
.testimonial-meta span { font-size: 13px; color: var(--text-muted); }

/* Home CTA dual */
.home-cta-wrap {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--site-blue) 100%);
  border-radius: 20px;
  padding: 56px 56px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.home-cta-wrap::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(233,125,33,0.3), transparent 70%);
}
.home-cta-wrap h2 { color: var(--white); font-size: 32px; margin-bottom: 14px; }
.home-cta-wrap p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 24px; }
.home-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-cta-points { list-style: none; position: relative; z-index: 1; }
.home-cta-points li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  display: flex; align-items: center; gap: 12px;
}
.home-cta-points li:last-child { border: none; }
.home-cta-points .d {
  width: 6px; height: 6px; border-radius: 50%; background: var(--light-orange);
}

@media (max-width: 900px) {
  .home-cta-wrap { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* Animated cursor on hero */
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.cursor { display: inline-block; width: 3px; height: 0.9em; background: var(--light-orange); margin-left: 4px; animation: blink 1s infinite; vertical-align: text-bottom; }

/* Former inline style= attributes (moved for the CSP).
   !important keeps them above normal rules, as inline styles were. */
.inl-877e4f5 { font-size: clamp(28px, 3.4vw, 40px) !important; margin-bottom: 20px !important; }
.inl-f91dc24 { font-size: 17px !important; margin-bottom: 28px !important; }
.inl-d73a757 { color: var(--white) !important; }
.inl-daa8314 { display: flex !important; justify-content: space-between !important; align-items: end !important; margin-bottom: 40px !important; flex-wrap: wrap !important; gap: 20px !important; }
.inl-96c7c10 { margin-bottom: 0 !important; }
