/* =========================================================================
   institution-custom.css
   Pixel-perfect alignment and styling for the Institution page
   ========================================================================= */

/* Main layout boundary matching the image */
.institution-main {
  padding-top: 150px; /* Clears fixed header */
  padding-bottom: 80px;
}

.institution-wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* 1. Dashed Hero Box */
.hero-dashed-box {
  border: 2px dashed #000;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 50px;
}

.hero-display-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.35;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.hero-display-title .italic-blue {
  color: var(--c-blue-accent);
  font-style: italic;
}

/* 2. Founders Yellow Stack */
.founders-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.founder-card-solid {
  background-color: var(--c-yellow);
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
}

.founder-bio {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.5;
  color: #111;
  font-weight: 300;
}

.founder-quote-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 5px;
}

.li-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid #000;
  border-radius: 4px;
  color: #000;
}

.li-icon-box svg {
  width: 18px;
  height: 18px;
}

.founder-quote {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}

/* 3. Text Blocks (Family Office Backing) */
.text-block-section {
  margin-bottom: 70px;
}

.section-serif-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 15px;
}

.section-standard-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  font-weight: 300;
}

/* 4. Shared Philosophy Cards */
.philosophy-section {
  margin-bottom: 20px;
}

.philosophy-cards-row {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.phil-card {
  background: #fff;
  flex: 1;
  min-height: 280px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.05); /* Slight framing */
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.phil-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #000;
}

.phil-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto; /* Centers the icon */
}

.phil-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-display-title { font-size: 2rem; }
  .hero-dashed-box { padding: 40px 20px; }
  
  .founder-card-solid { padding: 30px 20px; }
  .founder-title { font-size: 1.8rem; }
  
  .philosophy-cards-row {
    flex-direction: column;
    gap: 20px;
  }
  .phil-card { min-height: 220px; }
}