/* Attorneys page hero. 2026-11-16: the five-person group photograph was taken out at the owner's request and
   the owner chose its replacement: no picture frame; the heading sits on the navy field and behind it is a large
   low relief of the firm's mark (its two original shapes, unaltered), fine ruling that continues the mark's own
   edges, soft light from the upper left and one yellow accent on the mark.
   Motion: one very slow drift of light, repeating for as long as the hero is seen. It rests while the hero is
   off screen or the tab is hidden (attorneys-hero.js adds is-resting), and is still for the site's Reduce motion
   setting, the device's reduced-motion setting and print, which all show the same finished picture. */
.secondary-hero.secondary-hero--team{
  grid-template-columns:minmax(0,1fr);
  align-content:center;
  min-height:clamp(430px,40vw,600px);
  padding-block:clamp(52px,6vw,92px);
  overflow:hidden;
}
.secondary-hero--team .secondary-hero__copy{position:relative;max-width:min(680px,56%)}
.secondary-hero--team h1{
  font-size:clamp(58px,7.1vw,112px);line-height:.93;letter-spacing:-.012em;
  margin:0 0 clamp(20px,2.2vw,32px);max-width:none;text-wrap:balance;
  text-shadow:0 2px 0 #05103233,0 18px 40px #030a2666;
}
html[lang=fa] .secondary-hero--team h1{font-size:clamp(40px,5.2vw,82px);line-height:1.34;letter-spacing:0}
.secondary-hero--team .secondary-hero__copy>.secondary-widget--text-editor{max-inline-size:34rem}
.secondary-hero--team .secondary-hero__copy>.secondary-widget--text-editor p{font-size:clamp(15px,1.2vw,17.5px);line-height:1.85;color:#d6e6f5}

/* ---- the field ---- */
.team-field{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit;pointer-events:none}
/* depth: the field darkens away from the light, so the relief has something to rise from */
.team-field::before{content:"";position:absolute;inset:0;
  background:
    radial-gradient(70% 120% at 100% 0%,#0a1a4c00 0%,#050f33a6 100%),
    linear-gradient(180deg,#07123a00 55%,#050d2f8c 100%)}
/* fine grain, so the large flat field has a surface */
.team-field::after{content:"";position:absolute;inset:0;opacity:.34;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}

.secondary-hero.secondary-hero--team .team-field__relief{position:absolute;fill:none;inset-block:0;inset-inline-end:clamp(18px,5.5vw,96px);height:100%;width:auto;aspect-ratio:175/203;overflow:visible}
.team-field__light{position:absolute;inset:-12% -6%;
  background:
    radial-gradient(52% 78% at 16% -8%,#8fd0ff38,#8fd0ff00 70%),
    linear-gradient(113deg,#ffffff00 34%,#cfe8ff12 45%,#cfe8ff07 52%,#ffffff00 63%);
  transform:translate3d(0,0,0)}

/* ---- one very slow change of light ---- */
@keyframes team-field-light{from{transform:translate3d(-2.5%,0,0);opacity:.82}to{transform:translate3d(3.5%,0,0);opacity:1}}
@keyframes team-field-sheen{from{transform:translateX(96px)}to{transform:translateX(210px)}}
.team-field__light{animation:team-field-light 26s ease-in-out infinite alternate}
.team-field__sheen{transform:translateX(150px);animation:team-field-sheen 26s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){
  .team-field__light,.team-field__sheen{animation:none}
  .team-field__light{transform:none;opacity:1}
}
@media print{.team-field__light,.team-field__sheen{animation:none}}
@media (forced-colors:active){.team-field{display:none}}

/* ---- tablet: the relief is a little smaller and the copy keeps its measure ---- */
@media (max-width:1050px){
  .secondary-hero.secondary-hero--team{min-height:clamp(400px,52vw,520px)}
  .secondary-hero--team .secondary-hero__copy{max-width:min(520px,54%)}
  .secondary-hero--team h1{font-size:clamp(54px,8.4vw,86px)}
  html[lang=fa] .secondary-hero--team h1{font-size:clamp(38px,6vw,60px)}
  .secondary-hero.secondary-hero--team .team-field__relief{inset-block:6% auto;height:88%;inset-inline-end:-2.5%}
}
@media (max-width:860px){
  .secondary-hero--team .secondary-hero__copy{max-width:51%}
  .secondary-hero.secondary-hero--team .team-field__relief{inset-inline-end:-5%}
}
/* ---- phone: the copy leads; the upper part of the relief rises from the lower edge, clear of the badges ---- */
@media (max-width:700px){
  .secondary-hero.secondary-hero--team{min-height:0;padding-block:44px 198px}
  .secondary-hero--team .secondary-hero__copy{max-width:none}
  .secondary-hero--team h1{font-size:clamp(50px,15.4vw,66px);line-height:.94}
  html[lang=fa] .secondary-hero--team h1{font-size:clamp(34px,10vw,44px);line-height:1.4}
  .secondary-hero.secondary-hero--team .team-field__relief{inset-block:auto -104px;inset-inline-end:8px;height:292px}
  .team-field__light{inset:-4% -60%}
}

/* ---- when the light rests ---- */
.team-field.is-resting :is(.team-field__light,.team-field__sheen){animation-play-state:paused}
html.cinema-motion-paused .team-field :is(.team-field__light,.team-field__sheen),body[data-experience-motion="reduced"] .team-field :is(.team-field__light,.team-field__sheen){animation:none!important}
html.cinema-motion-paused .team-field__light,body[data-experience-motion="reduced"] .team-field__light{transform:none;opacity:1}
