/* ==========================================================
   Meet Our Team page (shared banner styles live in page.css)
   ========================================================== */

/* Overlapping portrait circles on the right */
.page-hero__faces { position: absolute; right: max(24px, calc((100% - 1280px) / 2)); top: 50%; transform: translateY(-50%); display: flex; z-index: 1; }
.page-hero__faces img {
  width: 210px; height: 210px; border-radius: 50%; object-fit: cover;
  border: 6px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
.page-hero__faces img:first-child { object-position: 41% 20%; position: relative; z-index: 2; animation: bob 7s ease-in-out infinite; }
.page-hero__faces img:last-child { margin-left: -46px; margin-top: 110px; object-position: center 20%; animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Profiles ---------- */
.profile__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.profile__grid--flip .profile__media { order: 2; }
.profile__media { position: relative; }
.profile__frame { overflow: hidden; box-shadow: var(--shadow); border: 10px solid var(--white); background: var(--white); }
.profile__frame img { width: 100%; height: 100%; object-fit: cover; }
.profile__frame--wide { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; }
.profile__frame--wide img { object-position: 40% center; }
.profile__frame--arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 4.8; max-width: 470px; margin-left: auto; }
.profile__frame--arch img { object-position: 30% center; }

.profile__tag {
  position: absolute; right: -24px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--white); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.profile__tag img { width: 52px; height: 52px; border-radius: 50%; }
.profile__tag strong { display: block; font-size: .95rem; }
.profile__tag small { display: block; font-size: .78rem; color: var(--muted); }
.profile__tag--left { right: auto; left: -10px; }

.profile__copy h2 { margin-bottom: 8px; }
.profile__role { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 26px; }
.profile__copy > p { color: var(--muted); }
.profile__lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink) !important; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags a, .tags span {
  padding: 8px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); color: var(--teal-800);
  transition: background .2s, color .2s, border-color .2s;
}
.tags a:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(56px, 7vw, 88px); }
.cred {
  display: grid; gap: 4px; padding: 26px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.cred__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); margin-bottom: 14px; }
.cred__icon svg { width: 22px; height: 22px; }
.cred strong { font-size: 1rem; line-height: 1.35; }
.cred > span:last-child { font-size: .85rem; color: var(--muted); }

/* Experience timeline */
.experience {
  margin-top: 18px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(207, 195, 169, .2), transparent 70%),
    linear-gradient(150deg, var(--teal-700), var(--teal-900));
}
.experience h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; margin-bottom: 28px; }
.experience ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.experience li { position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.experience li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(207, 195, 169, .2); }
.experience li span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-soft); }
.experience li strong { display: block; margin: 4px 0 6px; font-size: 1.02rem; }
.experience li p { margin: 0; font-size: .88rem; color: #c2ccc4; line-height: 1.55; }

/* Victoria section */
.profile--alt { background: var(--sand); }
.fun {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 26px;
  padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px dashed var(--sand-200);
}
.fun__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--sand); font-size: 1.4rem; }
.fun strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.fun p { margin: 0; color: var(--ink); }

.profile__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.profile__facts div { padding: 18px 20px; border-radius: 18px; background: var(--teal-800); color: #fff; }
.profile__facts strong { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--gold-soft); margin-bottom: 6px; }
.profile__facts span { font-size: .84rem; color: #c2ccc4; }

/* ---------- Values ---------- */
.values .section-head { max-width: 760px; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  position: relative; overflow: hidden;
  padding: 40px 34px 36px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value::after { content: ""; position: absolute; left: 34px; right: 34px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--gold), #cfc3a9); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.value:hover::after { transform: scaleX(1); }
.value__num { display: block; font-family: var(--serif); font-size: 3.2rem; font-style: italic; font-weight: 600; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.value h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 12px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Staff reviews ---------- */
.staff-reviews { background: var(--teal-50); }
.mini-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.mini-quote blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.4; color: var(--teal-900); }
.mini-quote figcaption { font-weight: 700; font-size: .9rem; padding-top: 14px; border-top: 1px solid var(--line); }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .page-hero__faces img { width: 160px; height: 160px; }
  .page-hero__faces img:last-child { margin-top: 80px; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .experience ol { grid-template-columns: repeat(2, 1fr); }
  .mini-quotes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .page-hero__faces { position: static; transform: none; margin: 40px auto 0; width: max-content; padding: 0 24px; }
  .profile__grid { grid-template-columns: 1fr; }
  .profile__grid--flip .profile__media { order: 0; }
  .profile__media { max-width: 520px; }
  .profile__frame--arch { margin-left: 0; }
  .profile__tag { right: 12px; }
  .profile__tag--left { left: 12px; }
  .values__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-hero__faces img { width: 130px; height: 130px; }
  .page-hero__faces img:last-child { margin-left: -34px; margin-top: 60px; }
  .experience ol, .mini-quotes { grid-template-columns: 1fr; }
  .creds { gap: 12px; }
  .cred { padding: 18px 16px; }
  .cred__icon { width: 38px; height: 38px; margin-bottom: 8px; }
  .cred strong { font-size: .9rem; }
  .cred > span:last-child { font-size: .78rem; }
  .profile__facts { grid-template-columns: 1fr; }
  .value { padding: 32px 26px; }
}
