:root{--ink:#0d3035;--teal:#4a7272;--mint:#86b9b2;--mist:#d0d6d6}
*{box-sizing:border-box}
html{background:#fff;scroll-behavior:smooth}
body{margin:0;font-family:Arial,Tahoma,sans-serif;background:#fff;color:var(--ink)}
a{color:inherit;text-decoration:none}
.person-topbar{position:sticky;top:16px;z-index:20;width:min(1320px,calc(100% - 48px));height:64px;margin:16px auto 24px;border-radius:20px;background:rgba(229,234,234,.94);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 8px 28px rgba(13,48,53,.05)}
.person-back{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--teal)}
.person-back::before{content:'→';font-size:18px}
.person-logo{width:118px;height:30px;object-fit:contain;object-position:right center}
.person-page{width:min(1120px,100%);margin:0 auto;padding:0 20px 70px}
.person-page img{display:block;width:100%;height:auto;margin:0 auto;background:#fff}
@media(max-width:680px){.person-topbar{width:calc(100% - 24px);top:8px;margin:8px auto 16px;padding:0 16px}.person-logo{width:92px}.person-page{padding:0 0 44px}.person-page img{width:100%}}


/* =========================================================
   V79 — subpage home logo + smaller profile artwork + team directory
   ========================================================= */
.person-topbar{
  justify-content:flex-start !important;
}
.person-back,.person-logo{display:none !important}
.bermor-home-motion{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:132px;
  height:40px;
  text-decoration:none;
  direction:ltr;
}
.bermor-home-motion__stage{
  position:relative;
  display:block;
  width:114px;
  height:24px;
}
.bermor-home-motion__full,
.bermor-home-motion__anim{
  position:absolute;
  inset:0;
  display:block;
  width:114px;
  height:24px;
  object-fit:contain;
  object-position:left center;
}
.bermor-home-motion__anim{
  z-index:2;
}
.bermor-home-motion__full{
  z-index:1;
}
/* 30% smaller than previous profile-page artwork */
.person-page{
  width:min(1120px,100%);
  padding:0 20px 70px;
}
.person-page img{
  width:70% !important;
  max-width:784px;
  margin:0 auto;
}

.team-directory{
  width:min(1120px,calc(100% - 48px));
  margin:42px auto 80px;
}
.team-directory h1{
  margin:0 0 30px;
  color:var(--teal);
  font-size:clamp(30px,4vw,48px);
  font-weight:700;
}
.team-directory-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.team-directory-card{
  min-height:126px;
  border-radius:24px;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:rgba(208,214,214,.22);
  border:1px solid rgba(74,114,114,.10);
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.team-directory-card:hover,
.team-directory-card:focus-visible{
  transform:translateY(-2px);
  background:rgba(134,185,178,.16);
  border-color:rgba(74,114,114,.20);
  outline:none;
}
.team-directory-card img{
  width:112px;
  height:48px;
  object-fit:contain;
  object-position:left center;
}
.team-directory-card__text{
  display:flex;
  flex-direction:column;
  text-align:right;
  margin-right:auto;
}
.team-directory-card__text small{
  color:rgba(74,114,114,.75);
  font-size:12px;
  font-weight:600;
}
.team-directory-card__text strong{
  margin-top:6px;
  color:var(--teal);
  font-size:18px;
  font-weight:700;
}
@media(max-width:680px){
  .person-topbar{justify-content:flex-start !important}
  .bermor-home-motion{width:112px;height:36px}
  .bermor-home-motion__stage,.bermor-home-motion__full,.bermor-home-motion__anim{width:100px;height:22px}
  .person-page{padding:0 0 44px}
  .person-page img{width:70% !important;max-width:none}
  .team-directory{width:calc(100% - 24px);margin:28px auto 54px}
  .team-directory-grid{grid-template-columns:1fr;gap:12px}
  .team-directory-card{min-height:104px;padding:18px}
  .team-directory-card img{width:88px;height:38px}
  .team-directory-card__text strong{font-size:16px}
}


/* =========================================================
   V80 — unified Bermor glass header + home motion
   ========================================================= */
.person-topbar,
.team-directory-topbar{
  position:sticky !important;
  top:16px !important;
  z-index:1800 !important;
  width:calc(100% - 48px) !important;
  max-width:none !important;
  height:64px !important;
  margin:16px 24px 24px !important;
  padding:0 48px !important;
  border:0 !important;
  border-radius:20px !important;
  background:rgba(208,215,215,.50) !important;
  -webkit-backdrop-filter:blur(8px) saturate(108%) !important;
  backdrop-filter:blur(8px) saturate(108%) !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  direction:ltr !important;
}
.person-back,.person-logo{display:none !important}
.bermor-home-motion{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:105px !important;
  height:24px !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-decoration:none !important;
}
.bermor-home-motion__stage{
  position:relative !important;
  display:block !important;
  width:105px !important;
  height:24px !important;
}
.bermor-home-motion__full,
.bermor-home-motion__anim{
  position:absolute !important;
  inset:0 !important;
  width:105px !important;
  height:24px !important;
  object-fit:contain !important;
  object-position:right center !important;
  pointer-events:none !important;
}
.bermor-home-motion__full{z-index:1 !important}
.bermor-home-motion__anim{z-index:2 !important}
.bermor-home-motion:focus-visible{outline:2px solid rgba(74,114,114,.45);outline-offset:8px;border-radius:8px}

@media(max-width:680px){
  .person-topbar,.team-directory-topbar{
    top:8px !important;
    width:calc(100% - 24px) !important;
    height:64px !important;
    margin:8px 12px 16px !important;
    padding:0 24px !important;
  }
  .bermor-home-motion,
  .bermor-home-motion__stage,
  .bermor-home-motion__full,
  .bermor-home-motion__anim{
    width:105px !important;
    height:24px !important;
  }
}
