/* About page styles — Hero in shared-pages.css */

/* ── Philosophy ────────────────────────────────────────────────────── */
.philosophy { background: var(--paper); text-align: center; }
.philosophy .wrap { max-width: 900px; }

.philosophy .big {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--ink);
  line-height: 1.28;
  font-weight: 500;
}

.philosophy .big em { font-style: italic; color: var(--gold); }

.philosophy .sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 26px;
  max-width: 62ch;
  margin-inline: auto;
}

/* ── Founder ───────────────────────────────────────────────────────── */
.founder { background: var(--bone); }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 70px;
  align-items: center;
}

.founder-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-soft), var(--ink));
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
}

.founder-photo:hover { transform: scale(1.02); }

.founder-photo::after {
  content: "SM";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-pale);
  opacity: .5;
  letter-spacing: .05em;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-body h2 em { font-style: italic; color: var(--gold); }

.founder-body .role {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  margin: 6px 0 22px;
  font-size: 1.25rem;
}

.founder-body p { margin-bottom: 16px; color: var(--text); font-size: 1rem; line-height: 1.8; }

.founder-body .sig {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
}

.founder-body .sig span {
  display: block;
  font-size: .8rem;
  font-family: var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

/* ── Stats ─────────────────────────────────────────────────────────── */
.stats { background: var(--paper); }

.statline {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-top: 20px;
}

.statline .st {
  flex: 1 1 200px;
  padding: 38px 18px;
  border-right: 1px solid var(--line-dark);
  text-align: center;
  transition: background .3s var(--ease);
}

.statline .st:last-child { border-right: 0; }
.statline .st:hover { background: rgba(198,161,91,.04); }

.statline .n {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.statline .n .suf { font-size: .5em; color: var(--gold); vertical-align: super; }

.statline .l {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Values ────────────────────────────────────────────────────────── */
.values { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.values .sec-head h2 { color: #fff; }
.values .sec-head .lede { color: var(--muted-navy); }

.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
}

.val {
  background: var(--navy);
  padding: 40px 32px;
  transition: .4s var(--ease);
}

.val:hover { background: var(--navy-soft); }

.val .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.val h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.val p { color: var(--muted-navy); font-size: .94rem; margin: 0; }

/* ── Approach ──────────────────────────────────────────────────────── */
.approach { background: var(--bone); }

.appr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.appr-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 36px 32px;
  transition: .4s var(--ease);
  position: relative;
}

.appr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
}

.appr-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
  border-radius: 8px 8px 0 0;
}

.appr-card:hover::after { transform: scaleX(1); }

.appr-card .step {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.appr-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.appr-card p { color: var(--muted); font-size: .95rem; }

/* ── Team ──────────────────────────────────────────────────────────── */
.team { background: var(--paper); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 54px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: .4s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
}

.team-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-soft), var(--ink));
}

.team-photo img,
.team-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s var(--ease);
}

.team-card:hover .team-photo img,
.team-card:hover .team-photo__img { transform: scale(1.05); }

.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo--placeholder span {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-pale);
  opacity: .5;
}

.team-body { padding: 24px 28px; }

.team-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.team-role {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.team-desc {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-links { display: flex; gap: 10px; }

.team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: .3s var(--ease);
  border: 1px solid var(--line-dark);
}

.team-link:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── Offices ───────────────────────────────────────────────────────── */
.offices { background: var(--paper); }

.off-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 44px;
}

.off {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: .3s var(--ease);
}

.off:hover { border-color: var(--line-gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.off .body { padding: 30px 32px; }

.off .flag {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.off h3 { margin: 8px 0 12px; font-size: 1.7rem; }
.off address { font-style: normal; color: var(--muted); line-height: 1.7; font-size: .95rem; }

.off .maplink {
  margin-top: 16px;
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--gold);
  font-weight: 600;
  transition: color .3s var(--ease);
}

.off .maplink:hover { color: var(--ink); }

/* ── CTA Band ──────────────────────────────────────────────────────── */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 90px 0;
  text-align: center;
  margin-bottom: 0;
}

.cta-band h2 { color: #fff; }
.cta-band h2 em { color: var(--gold-pale); font-style: italic; }
.cta-band .lede { color: var(--muted-navy); margin: 20px auto 32px; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .val-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .val-grid { grid-template-columns: 1fr 1fr; }
  .appr-grid { grid-template-columns: 1fr; }
  .off-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .statline .st { flex: 1 1 150px; }
}

@media (max-width: 600px) {
  .val-grid { grid-template-columns: 1fr; }
  .statline .st { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .statline .st:last-child { border-bottom: 0; }
  .team-body { padding: 20px; }
  .off .body { padding: 24px; }
}
