/* =========================================================
   inner.css — about.html + 9 service pages, page-specific only.
   Shared furniture lives in core.css (loaded first).
   Phase D5, 2026-07-29.
   ========================================================= */

/* =========================================================
   PAGE HERO — About specific
   ========================================================= */
.page-hero {
  position: relative; padding: 5rem 2rem 4rem;
  text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 900px 400px at 50% -5%,
    color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 85%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border-navy) 1px, transparent 1.5px);
  background-size: 28px 28px; opacity: .35; pointer-events: none;
}
html[data-hero-bg="none"] .page-hero::after { display: none; }
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem .4rem .5rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border-line); border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; color: var(--text-secondary);
  letter-spacing: .04em; margin-bottom: 1.75rem; box-shadow: var(--shadow-sm);
}
.hero-eyebrow .eyebrow-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800;
  color: var(--text-primary); letter-spacing: -.025em;
  line-height: 1.1; margin-bottom: 1.25rem; text-wrap: balance;
}
.page-hero h1 .gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800;
}
.page-hero .tagline {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 680px; margin: 0 auto 2rem; line-height: 1.75;
}
.page-hero-strip {
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border-subtle);
}
.page-hero-strip-item {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .84rem; font-weight: 500;
}
.page-hero-strip-item i { color: var(--gold-dark); font-size: .95rem; }

/* =========================================================
   OUR COMPANY SECTION
   ========================================================= */
.company-section { background: var(--bg); }
.company-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem; align-items: start;
  max-width: var(--container); margin: 0 auto;
}
.company-content {
  background: var(--card-bg);
  border: 1px solid var(--border-line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.company-content::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
/* --- NEW: dark mode matches Flagship Engagement style --- */
html[data-theme="dark"] .company-content {
  background: linear-gradient(160deg, #2A2416 0%, #1C1810 70%, #14110A 100%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 1px var(--border-gold), var(--shadow-lg);
}
html[data-theme="dark"] .company-content::after {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  pointer-events: none; z-index: 0;
}

.company-content h3 {
  font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem;
  position: relative; z-index: 1;
}
.company-content h3::before {
  content: ''; width: 4px; height: 26px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); border-radius: 2px;
}
html[data-theme="dark"] .company-content h3 { color: #fff; }

.company-content p {
  color: var(--text-secondary); font-size: .97rem; line-height: 1.8; margin-bottom: 1.25rem;
  position: relative; z-index: 1; 
}
html[data-theme="dark"] .company-content p { color: rgba(255,255,255,.82); }
.company-content p:last-child { margin-bottom: 0; }

.company-stats { display: flex; flex-direction: column; gap: 1.25rem; }
.stat-card-about {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--card-bg); padding: 1.5rem;
  border-radius: var(--r-lg); border: 1px solid var(--border-line);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease-out); position: relative; overflow: hidden;
}
.stat-card-about::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.stat-card-about:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 22px var(--gold-glow), var(--shadow-md); transform: translateY(-2px); }
.stat-card-about:hover::after { opacity: 1; }
.stat-card-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: color-mix(in srgb, var(--navy-mid) 8%, transparent);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
}
html[data-theme="dark"] .stat-card-icon { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.stat-card-icon i { font-size: 1.3rem; color: var(--gold-dark); }
html[data-theme="dark"] .stat-card-icon i { color: var(--gold-light); }
.stat-card-text h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: .2rem; font-weight: 700; }
.stat-card-text p { color: var(--text-muted); font-size: .87rem; margin: 0; line-height: 1.45; }

/* =========================================================
   LEADERSHIP / FOUNDER BIO — "A Partner You Can Trust"
   Photo + bio card, modeled on .company-grid. Placed first after the
   hero (the founder is the differentiator). On --bg (white) to alternate
   with the hero gradient above and the grey mission band below.
   ========================================================= */
.leader-section { background: var(--bg); }
.leader-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 3rem; align-items: start;
  max-width: var(--container); margin: 0 auto;
}
.leader-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Placeholder until the real photo is supplied — swap this div for an <img>. */
.leader-photo.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .85rem; text-align: center; padding: 1rem;
  background: linear-gradient(160deg, var(--navy-surface), var(--navy-deep));
  color: rgba(255,255,255,.55);
}
.leader-photo.is-placeholder i { font-size: 2.6rem; color: var(--gold); opacity: .85; }
.leader-photo.is-placeholder span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.leader-content {
  background: var(--card-bg);
  border: 1px solid var(--border-line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.leader-content::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.leader-content h3 {
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary);
  margin-bottom: .2rem; letter-spacing: -.01em;
}
.leader-role {
  color: var(--gold-dark); font-size: .95rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
html[data-theme="dark"] .leader-role { color: var(--gold-light); }
.leader-lede {
  font-size: 1.12rem; font-weight: 600; color: var(--text-primary);
  line-height: 1.6; margin-bottom: 1.6rem;
  padding-left: 1.1rem; border-left: 3px solid var(--gold);
}
.leader-content p { color: var(--text-secondary); font-size: .97rem; line-height: 1.8; margin-bottom: 1.1rem; }
.leader-content p:last-of-type { margin-bottom: 1.6rem; }
.leader-linkedin {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.3rem;
  background: var(--navy-mid); color: #fff;
  border-radius: var(--r-md); font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.leader-linkedin:hover { background: var(--navy-deep); transform: translateY(-2px); }
.leader-linkedin i { color: var(--gold-light); font-size: 1rem; }

@media (max-width: 780px) {
  .leader-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 560px; }
  .leader-photo { max-width: 300px; margin: 0 auto; width: 100%; }
  .leader-content { padding: 2rem; }
}

/* =========================================================
   VALUES SECTION — dark navy band
   ========================================================= */
.values-section {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  color: #fff; border-top: 1px solid var(--border-gold);
}
.values-section .section-label { color: var(--gold-light); }
.values-section .section-label::before { background: var(--gold-light); }
.values-section .section-title { color: #fff; }
.values-section .section-sub { color: rgba(255,255,255,.7); }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: var(--container); margin: 0 auto;
}
.value-item {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06); border: 1px solid rgba(207,168,92,.35);
  border-radius: var(--r-lg); padding: 2rem;
  transition: all .3s var(--ease-out); position: relative; overflow: hidden;
}
.value-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.value-item::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.value-item:hover {
  background: rgba(255,255,255,.10); border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--gold), 0 0 28px var(--gold-glow); 
}
.value-item:hover::after { opacity: 1; }
.value-number {
  font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: .75rem;
}
.value-item h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.value-item p { font-size: .92rem; color: rgba(255,255,255,.72); line-height: 1.65; }

/* =========================================================
   MISSION SECTION
   ========================================================= */
.mission-section { background: var(--surface); }
.mission-card {
  background: linear-gradient(160deg, var(--navy-surface), var(--navy-deep));
  border-radius: var(--r-xl); padding: 3.5rem;
  border: 1px solid var(--border-gold);
  position: relative; overflow: hidden;
  max-width: 960px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.mission-card::after {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  pointer-events: none;
}
.mission-inner { position: relative; z-index: 1; }
.mission-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.25rem;
}
.mission-tag::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.mission-card h3 {
  font-size: 1.85rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.25rem;
}
.mission-card h3 em { font-style: normal; color: var(--gold); }
.mission-card p { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.mission-card p em { font-style: normal; font-weight: 700; color: var(--gold); }
.mission-card p:last-child { margin-bottom: 0; }

/* =========================================================
   PRO-BONO / GIVING BACK SECTION
   ========================================================= */
.probono-section { background: var(--bg); }
.probono-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: var(--container); margin: 0 auto;
}
.probono-card {
  background: var(--card-bg); border-radius: var(--r-lg);
  padding: 2rem; border: 1px solid var(--border-line);
  box-shadow: var(--shadow-sm); transition: all .3s var(--ease-out);
  position: relative; overflow: hidden;
}
.probono-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.probono-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 0 0 1px var(--gold), 0 0 24px var(--gold-glow), var(--shadow-md); }
.probono-card:hover::after { opacity: 1; }
.probono-icon {
  width: 50px; height: 50px;
  background: color-mix(in srgb, var(--navy-mid) 8%, transparent);
  border: 1px solid var(--border-gold); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
  transition: background .3s, transform .3s;
}
html[data-theme="dark"] .probono-icon { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.probono-card:hover .probono-icon { background: var(--navy-mid); transform: rotate(-6deg) scale(1.05); }
html[data-theme="dark"] .probono-card:hover .probono-icon { background: color-mix(in srgb, var(--gold) 25%, transparent); }
.probono-icon i { font-size: 1.4rem; color: var(--gold-dark); }
html[data-theme="dark"] .probono-icon i { color: var(--gold-light); }
.probono-card h3 { color: var(--text-primary); font-size: 1.1rem; margin-bottom: .65rem; font-weight: 700; }
.probono-card p { color: var(--text-secondary); font-size: .93rem; line-height: 1.7; }

/* =========================================================
   SERVICE PAGE — feature/benefit card additions
   Reuses values-section dark band + probono-card patterns; just
   adds icon sizing and grid responsiveness for 6 feature cards.
   ========================================================= */
.values-grid.features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card .feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(207,168,92,.20), rgba(207,168,92,.06));
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-card .feature-icon i { font-size: 1.4rem; color: var(--gold-light); }
.feature-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .55rem; font-weight: 700; }
.feature-card p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.65; margin: 0; }
.probono-grid.benefits-grid {
  grid-template-columns: repeat(2, 1fr);
}
.cta-section { background: var(--surface); padding: var(--section-y) 2rem; }
.cta-section .cta-card {
  max-width: 880px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border-line);
  border-radius: var(--r-lg); padding: 2.75rem 2rem;
  box-shadow: var(--shadow-md);
}
.cta-section .cta-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--text-primary);
  margin-bottom: .85rem; line-height: 1.2;
}
.cta-section .cta-card p { color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-navy);
}
.btn-outline:hover { background: var(--surface-hover); border-color: var(--navy-mid); }

@media (max-width: 900px) {
  .values-grid.features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .values-grid.features-grid { grid-template-columns: 1fr; }
  .probono-grid.benefits-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE — inner-page content only (company / values /
   pro-bono grids, page hero, mission card). These elements
   exist only on inner pages, so they keep their own
   breakpoints. Shared furniture (header, footer, nav, logo,
   container, section padding) is unified in core.css on the
   homepage breakpoint set.
   ========================================================= */
@media (max-width: 1024px) {
  .company-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .probono-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3.5rem 1.25rem 3rem; }
  .page-hero-strip { gap: 1rem; }
  .mission-card { padding: 2rem; }
}
